mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Allow pins 9&10 for PWM (#410)
Ref https://github.com/esp8266/Arduino/pull/5055
This commit is contained in:
		| @@ -13,7 +13,7 @@ ESP_PLATFORMS = [ESP_PLATFORM_ESP8266] | ||||
|  | ||||
| def valid_pwm_pin(value): | ||||
|     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 | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user