]> Repositories - Adafruit_Blinka-hackapet.git/blob - src/adafruit_blinka/board/feather_huzzah.py
add raspi_1b_rev2 pins; module docstrings for board definitions
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / board / feather_huzzah.py
1 """Pin definitions for the Feather Huzzah."""
2
3 from adafruit_blinka.microcontroller.esp8266 import pin
4
5 # TODO need equiv of INPUT_PULL_DOWN_16 ?
6 # See https://tttapa.github.io/ESP8266/Chap04%20-%20Microcontroller.html
7
8 GPIO0 = pin.GPIO0
9 GPIO1 = pin.GPIO1
10 GPIO2 = pin.GPIO2
11 GPIO3 = pin.GPIO3
12 GPIO4 = pin.GPIO4
13 GPIO5 = pin.GPIO5
14 GPIO12 = pin.GPIO12
15 GPIO13 = pin.GPIO13
16 GPIO14 = pin.GPIO14
17 GPIO15 = pin.GPIO15
18 GPIO16 = pin.GPIO16
19
20 ADC = pin.TOUT
21
22 MISO = GPIO12
23 MOSI = GPIO13
24 SCK = GPIO14
25
26 RX = GPIO3
27 TX = GPIO1
28
29 SDA = GPIO4
30 SCL = GPIO5