]> Repositories - Adafruit_Blinka-hackapet.git/blob - python/board/feather_huzzah.py
3510f13b414492c7fe5b2ff39db3e847e0777434
[Adafruit_Blinka-hackapet.git] / python / board / feather_huzzah.py
1 from microcontroller.esp8266 import pin
2
3 # TODO need equiv of INPUT_PULL_DOWN_16 ? see https://tttapa.github.io/ESP8266/Chap04%20-%20Microcontroller.html
4
5 GPIO0=pin.GPIO0
6 GPIO1=pin.GPIO1
7 GPIO2=pin.GPIO2
8 GPIO3=pin.GPIO3
9 GPIO4=pin.GPIO4
10 GPIO5=pin.GPIO5
11 GPIO12=pin.GPIO12
12 GPIO13=pin.GPIO13
13 GPIO14=pin.GPIO14
14 GPIO15=pin.GPIO15
15 GPIO16=pin.GPIO16
16
17 ADC=pin.TOUT
18
19 MISO=GPIO12
20 MOSI=GPIO13
21 SCK=GPIO14
22
23 RX=GPIO3
24 TX=GPIO1
25
26 SDA=GPIO4
27 SCL=GPIO5
28
29 ['ADC', 'GPIO16', 'GPIO14', 'SCK', 'GPIO12', 'MISO', 'GPIO13', 'MOSI', 'GPIO15', 'GPIO2', 'GPIO0', 'GPIO4', 'SDA', 'RX', 'TX', 'GPIO5', 'SCL']