Arduino-HomeKit-ESP8266 icon indicating copy to clipboard operation
Arduino-HomeKit-ESP8266 copied to clipboard

Trying to get a servo working

Open RvdH80 opened this issue 3 years ago • 0 comments
trafficstars

Hi all,

I am trying to get a servo working with the esp8266 and Homekit setup.

I am quitte new to coding, but I already could code something to make servo's etc working with my Arduino.

But I just can't get the solution. It seems I can't use the <servo.h> libary. I used the simplest led as example. instead of led on the servo should move 90 degrees, and led off is back to 0. Seems simple, but where is the key to this?

What i did: add the library etc to the accessoires.c , change the "digitalWrite(PIN_LED, LOW);" to "servo.write(90); ". And so on.. hours and hours of trying.

Can somebody point me in the right direction?

Cheers,

Rob

RvdH80 avatar Sep 15 '22 10:09 RvdH80