1

I am trying to control a servo from a web service. I have used Springboot and ServoBlaster library.

Although these ways to handle the servo work as a standalone application, nothing of the above works through Springboot.

I am running the application as root ./gradlew bootrun --no-daemon. The handling of the other GPIOs is perfect.

Do I have to apply any weird setting at Springboot?

Should I access the servo pin differently?

  • I have never heard of Springboot. For the sake of others and myself it would be useful if you added links to the items you are talking about. – joan Dec 15 '19 at 21:04
  • @joan Edited with links – LiTTle Dec 15 '19 at 21:07
1

The whole problem was with the servod of the ServoBlaster. It was accidentally killed and I had to run it once again!

More info here.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.