X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/a42332d0d0261bb5cc62365648eb11a6169b4bdf..a168b41a338d78869ddd29e63f638de96bcb647b:/src/adafruit_blinka/microcontroller/esp8266/pin.py?ds=sidebyside diff --git a/src/adafruit_blinka/microcontroller/esp8266/pin.py b/src/adafruit_blinka/microcontroller/esp8266/pin.py index 986b968..5ba9884 100755 --- a/src/adafruit_blinka/microcontroller/esp8266/pin.py +++ b/src/adafruit_blinka/microcontroller/esp8266/pin.py @@ -16,13 +16,14 @@ GPIO16 = Pin(16) TOUT = Pin("TOUT") # ordered as spiId, sckId, mosiId, misoId -SPI_PORTS = ((1, GPIO14, GPIO13, GPIO12)) +spiPorts = (1, GPIO14, GPIO13, GPIO12) # ordered as uartId, txId, rxId -UART_PORTS = ( +uartPorts = ( (0, GPIO1, GPIO3), # TODO secondary pins for UART0 configurable from Micropython? How to flag? # (0, GPIO15, GPIO13) - (1, GPIO2, None)) + (1, GPIO2, None), +) -I2C_PORTS = () +i2cPorts = ()