From 7915e420f47c1c3bf9b079051fe53eb54acf89e1 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Tue, 24 Apr 2018 21:52:59 +0200 Subject: [PATCH] Fix Wemos D1 Mini Pin Numbering (fixes #9) --- esphomeyaml/pins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphomeyaml/pins.py b/esphomeyaml/pins.py index 84c8fbe51f..f39fbe5ff4 100644 --- a/esphomeyaml/pins.py +++ b/esphomeyaml/pins.py @@ -21,7 +21,7 @@ ESP8266_D1_PINS = dict(ESP8266_PINS, **{ 'D10': 15, 'D11': 13, 'D12': 14, 'D13': 14, 'D14': 4, 'D15': 5, 'LED': 2, 'SDA': 4, 'SCL': 5, }) ESP8266_D1_MINI_PINS = dict(ESP8266_PINS, **{ - 'D0': 16, 'D1': 5, 'D2': 4, 'D3': 0, 'D4': 0, 'D5': 14, 'D6': 12, 'D7': 13, 'D8': 15, 'RX': 3, + 'D0': 16, 'D1': 5, 'D2': 4, 'D3': 0, 'D4': 2, 'D5': 14, 'D6': 12, 'D7': 13, 'D8': 15, 'RX': 3, 'TX': 1, 'LED': 2, 'SDA': 4, 'SCL': 5, }) ESP8266_THING_PINS = dict(ESP8266_PINS, **{