mirror of
https://github.com/esphome/esphome.git
synced 2024-12-23 05:54:56 +01:00
Allow pins 9&10 for PWM (#410)
Ref https://github.com/esp8266/Arduino/pull/5055
This commit is contained in:
parent
f185ba7a21
commit
8ce176aaba
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ ESP_PLATFORMS = [ESP_PLATFORM_ESP8266]
|
||||||
|
|
||||||
def valid_pwm_pin(value):
|
def valid_pwm_pin(value):
|
||||||
num = value[CONF_NUMBER]
|
num = value[CONF_NUMBER]
|
||||||
cv.one_of(0, 1, 2, 3, 4, 5, 12, 13, 14, 15, 16)(num)
|
cv.one_of(0, 1, 2, 3, 4, 5, 9, 10, 12, 13, 14, 15, 16)(num)
|
||||||
return value
|
return value
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue