]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/microcontroller/esp8266/pin.py
Add timout loop after exporting the PWM pin.
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / microcontroller / esp8266 / pin.py
index 986b9683df57ac767b306238b5cae78ec3c1ec30..9dc856faadc64d8bbcabde444b2978d95b18b110 100755 (executable)
@@ -16,13 +16,14 @@ GPIO16 = Pin(16)
 TOUT = Pin("TOUT")
 
 # ordered as spiId, sckId, mosiId, misoId
 TOUT = Pin("TOUT")
 
 # ordered as spiId, sckId, mosiId, misoId
-SPI_PORTS = ((1, GPIO14, GPIO13, GPIO12))
+SPI_PORTS = (1, GPIO14, GPIO13, GPIO12)
 
 # ordered as uartId, txId, rxId
 UART_PORTS = (
     (0, GPIO1, GPIO3),
     # TODO secondary pins for UART0 configurable from Micropython? How to flag?
     # (0, GPIO15, GPIO13)
 
 # ordered as uartId, txId, rxId
 UART_PORTS = (
     (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 = ()
 
 I2C_PORTS = ()