From: Cefn Hoile Date: Mon, 19 Feb 2018 13:59:00 +0000 (+0000) Subject: SDA/SCL matching labels on board X-Git-Tag: 0.1.0~4^2~87 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/98051a9f651ef8aa931f9db0371c2994ab07f320?ds=inline SDA/SCL matching labels on board --- diff --git a/python/board/feather_huzzah.py b/python/board/feather_huzzah.py index 76da01f..3510f13 100644 --- a/python/board/feather_huzzah.py +++ b/python/board/feather_huzzah.py @@ -1,5 +1,7 @@ from microcontroller.esp8266 import pin +# TODO need equiv of INPUT_PULL_DOWN_16 ? see https://tttapa.github.io/ESP8266/Chap04%20-%20Microcontroller.html + GPIO0=pin.GPIO0 GPIO1=pin.GPIO1 GPIO2=pin.GPIO2 @@ -21,12 +23,7 @@ SCK=GPIO14 RX=GPIO3 TX=GPIO1 -# GPIO0 and GPIO2 have built-in pull-ups on common ESP8266 -# breakout boards making them suitable for I2C SDA and SCL -SDA=GPIO0 -SCL=GPIO2 - - - +SDA=GPIO4 +SCL=GPIO5 ['ADC', 'GPIO16', 'GPIO14', 'SCK', 'GPIO12', 'MISO', 'GPIO13', 'MOSI', 'GPIO15', 'GPIO2', 'GPIO0', 'GPIO4', 'SDA', 'RX', 'TX', 'GPIO5', 'SCL']