Closed meekell closed 6 years ago
Oh it seems like the error message is wrong... At least from this source (https://www.esp8266.com/wiki/doku.php?id=esp8266_gpio_pin_allocations) only pins 0-15 support pwm.
I will try to manually check if the source is incorrect and pwm does work on pin 16. If it does work, i'll adjust the validation, otherwise I'll fix the error message
Thanks for replying. I'm converting my rgbw light controller developed in Arduino IDE to esphomeyaml. In the Arduino code I was using pwm on pin GPIO16 with the analogWrite call, so I know it works.
Perfect! Thanks!
Also found 0-16 called out here: http://esp8266.github.io/Arduino/versions/2.0.0/doc/reference.html
Thank you! Fixed in the latest dev build now. See https://esphomelib.com/esphomeyaml/guides/faq.html#how-do-i-use-the-latest-bleeding-edge-version
I'm attempting to assign a PWM output to GPIO16 of my ESP8266-12E. When attempting to compile, I'm receiving the error: _ERROR [esphomeyaml.config] Error while reading config: ESP8266: Only pins 0-16 support PWM.
My yaml includes the following: