X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/72aa3ef4613ad2e2abe275e300475003c24b49f3..9aedff3827db31f6f40f4a2777538d1ffba39bf0:/src/adafruit_blinka/microcontroller/esp8266/__init__.py diff --git a/src/adafruit_blinka/microcontroller/esp8266/__init__.py b/src/adafruit_blinka/microcontroller/esp8266/__init__.py new file mode 100644 index 0000000..d3dce53 --- /dev/null +++ b/src/adafruit_blinka/microcontroller/esp8266/__init__.py @@ -0,0 +1,11 @@ +# ordered as spiId, sckId, mosiId, misoId +spiPorts = ( + (1, 14, 13, 12) +) + +# ordered as uartId, txId, rxId +uartPorts = ( + (0, 1, 3), + # (0, 15, 13) # TODO secondary pins for UART0 configurable from Micropython? + (1, 2, None) +) \ No newline at end of file