# Servo.h library missing fatal error

**URL:** <https://forum.xod.io/t/servo-h-library-missing-fatal-error/4114>\
**Category:** Uncategorized\
**Created:** [June 15, 2020, 8:46am UTC](https://forum.xod.io/t/servo-h-library-missing-fatal-error/4114 "2020-06-15T08:46:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sutcliffestu](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/sutcliffestu/32/2466_2.png) [@sutcliffestu](https://forum.xod.io/u/sutcliffestu)\
**Post date:** [June 15, 2020, 8:46am UTC](https://forum.xod.io/t/servo-h-library-missing-fatal-error/4114/1 "2020-06-15T08:46:51Z")

</div>

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

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

 ![Screenshot 2020-06-15 at 09.36.57](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/9/9e2f0e16f748264fb6d364c5930a9184dd7493ea.png)

I followed advice here [https://forum.xod.io/t/arduino-libray-e-g-liquidcrystal-not-found-during-compilation/70](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

---

<div class="post-metadata">

**Author:** ![wayland](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/wayland/32/1590_2.png) [@wayland](https://forum.xod.io/u/wayland)\
**Post date:** [June 15, 2020, 11:36am UTC](https://forum.xod.io/t/servo-h-library-missing-fatal-error/4114/2 "2020-06-15T11:36:20Z")

</div>

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

> [@Simulation error - please help](https://forum.xod.io/t/simulation-error-please-help/3911/4):
>
> You can’t simulate extra hardware like buttons, LCD, LED, or sensors. These need replaced with tweak or watch nodes or run on actual hardware. You can use debug when running on hardware to combine tweak/watch nodes with extra hardware.

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.

---

<div class="post-metadata">

**Author:** ![sutcliffestu](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/sutcliffestu/32/2466_2.png) [@sutcliffestu](https://forum.xod.io/u/sutcliffestu)\
**Post date:** [June 15, 2020, 1:07pm UTC](https://forum.xod.io/t/servo-h-library-missing-fatal-error/4114/3 "2020-06-15T13:07:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [July 15, 2020, 1:07pm UTC](https://forum.xod.io/t/servo-h-library-missing-fatal-error/4114/4 "2020-07-15T13:07:31Z")

</div>

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