Servo complication error

Hey,
i’m trying to use this library of servo motor - PlatformIO Registry
my chip is nodeMCU

when i’m try to compile my project i get this error message:
“This library only supports boards with an AVR, SAM, SAMD, NRF52 or STM32F4 processor.”

the details of my .ini file is:
[env:nodemcuv2]
platform: espressif8266
framework: arduino

can anybody help please?

That’s a very clear error message telling you that MCU is not supported. If you look at the implementation files you’ll see that it uses platform-specific timer code for PWM control on each platform. Since the ESP8266 is not implemented there you’d ever have to write it yourself or search for another library.

Hi, I have almost the same problem, but I use the ESP32, I tried everything, and now I do not know what I have to do, can you help me please? thanks

Please state the full platformio.ini and the code you’re using.