From 1dadec53a7a61eae9d37ba2aabf96efea1ad0ac9 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 10 Aug 2016 02:16:02 +0200 Subject: templates: nodemcu-arduino: better symbol names. o Adding some documentation to the readme. Adding a small flow chart illustrating how the tool work with a schematic, netlist and template to generate a header file. --- templates/nodemcu-arduino.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'templates') 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 } -- cgit v1.2.3