Is there Servo.h for Raspberry Pi

I made program using Sketch generator:

Boards:Raspberry Pi

But, there is error on “#include <Servo.h>”

Is there Servo.h for Raspberry Pi?

I think that’s an external library you need. It’s included in the Arduino IDE, but not in the RasPi libraries stuff I think.

1 Like

All the examples are based on Arduino/ESP code… they will not work for RPi Node.js method… and will need significant modifications and/or alternate libraries for the WiringPi method.

You will have to do some Google searching for workable servo libraries for either RPi method.

1 Like

Thank you Lichtsignaal-san and Gunner-san!!

I will search another way for servo.