aboutsummaryrefslogtreecommitdiff
path: root/templates/nodemcu-arduino.py
diff options
context:
space:
mode:
Diffstat (limited to 'templates/nodemcu-arduino.py')
-rw-r--r--templates/nodemcu-arduino.py28
1 files changed, 14 insertions, 14 deletions
diff --git a/templates/nodemcu-arduino.py b/templates/nodemcu-arduino.py
index 1f258e6..ab0f283 100644
--- a/templates/nodemcu-arduino.py
+++ b/templates/nodemcu-arduino.py
@@ -12,26 +12,26 @@ gpio_map = {
8: None, # SD0
9: None, # CMD
10: None, # SD1
- 11: '9', # SD2
- 12: '10', # SD3
+ 11: 'D9', # SD2
+ 12: 'D10', # SD3
13: None, # RSV
14: None, # RSV
- 15: '0', # A0
+ 15: 'D0', # A0
# Right side
- 16: '16',
- 17: '5',
- 18: '4',
- 19: '0',
- 20: '2',
+ 16: 'D16',
+ 17: 'D5',
+ 18: 'D4',
+ 19: 'D0',
+ 20: 'D2',
21: None, # 3V3
22: None, # Gnd
- 23: '14',
- 24: '12',
- 25: '13',
- 26: '15',
- 27: '3',
- 28: '1',
+ 23: 'D14',
+ 24: 'D12',
+ 25: 'D13',
+ 26: 'D15',
+ 27: 'D3',
+ 28: 'D1',
29: None, # GND
30: None, # 3V3
}