aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2016-08-10 02:16:02 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2016-08-10 02:16:02 +0200
commit1dadec53a7a61eae9d37ba2aabf96efea1ad0ac9 (patch)
tree0c09a731271c3a714534556ed36cf2843064d2ff /templates
parentfd0e6e3aa0e7523a36011a2f0264737772aa5e24 (diff)
downloadkicad-utils-1dadec53a7a61eae9d37ba2aabf96efea1ad0ac9.tar.gz
kicad-utils-1dadec53a7a61eae9d37ba2aabf96efea1ad0ac9.tar.bz2
kicad-utils-1dadec53a7a61eae9d37ba2aabf96efea1ad0ac9.tar.xz
kicad-utils-1dadec53a7a61eae9d37ba2aabf96efea1ad0ac9.zip
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.
Diffstat (limited to 'templates')
-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
}