Servo.h library missing fatal error

Hi, I am trying to compile a patch from a video tutorial i am watching on youtube.
https://www.youtube.com/watch?v=mIURm6Ge5n4

When i try to compile it says fatal error file not found servo.h

I followed advice here https://forum.xod.io/t/arduino-libray-e-g-liquidcrystal-not-found-during-compilation/70

For servo not liquid crystal but i am still getting the error.

Am i missing something?

Cheers

It appears that you’re compiling for simulation, but unfortunately you can’t simulate hardware devices:

Also, you are using the same digital pin (D0) for both your servo and button - each device needs to use a different pin. Specify a different pin for one of these devices, then try compiling and uploading to a board. D0 and D1 are used for serial communication with the IDE, so you may want to avoid using these pins for devices in your patches if you plan to use the debugger.

Ahh, thanks mate! I currently offshore with no arduino and have just found XOD. Also pretty new to arduino.
Thanks for the reply :grinning:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.