When I try to use this with an ESP8266 with platformio, I get the following error:
Compiling .pioenvs/default/libf18/ServoTimer2_ID1305/ServoTimer2.cpp.o
.piolibdeps/ServoTimer2_ID1305/ServoTimer2.cpp:4:29: fatal error: avr/interrupt.h: No such file or directory
#include <avr/interrupt.h>
^
compilation terminated.
*** [.pioenvs/default/libf18/ServoTimer2_ID1305/ServoTimer2.cpp.o] Error 1
When I try to use this with an ESP8266 with platformio, I get the following error: