Open macxsm opened 6 years ago
There are many flavours of ESP8266 boards, with different pinouts. Mine are definitely PWM-capable, but your board could be very different.
Ah OK. I was looking at the ESP-12e and the NodeMCU which have both the same pins for PWM. Even if it works with the ports you selected, I think I noticed some unsmoothness when the color of the not-pwm-pin (as documentation says) appears. Anyway, not an issue, because it's configurable. Thanks for sharing!
Hi, according to the very nice image from http://learn.acrobotic.com/tutorials/post/esp8266-getting-started the pins you use are not all pwm-capable. Instead you should use pin 2+5+6 instead of 5+6+7, because 7 is not PWM.
Bye! Marco