X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/d46b68d8c7f7b406761136107b153d6ee1efddd0..06f3dea48645ab3963bb400c6057a1049bb2c75e:/src/adafruit_blinka/microcontroller/rp2040/pin.py diff --git a/src/adafruit_blinka/microcontroller/rp2040/pin.py b/src/adafruit_blinka/microcontroller/rp2040/pin.py index aaa9ac3..e16890f 100755 --- a/src/adafruit_blinka/microcontroller/rp2040/pin.py +++ b/src/adafruit_blinka/microcontroller/rp2040/pin.py @@ -25,13 +25,16 @@ GP19 = Pin(19) GP20 = Pin(20) GP21 = Pin(21) GP22 = Pin(22) +GP23 = Pin(23) +GP24 = Pin(24) GP25 = Pin(25) GP26 = Pin(26) GP27 = Pin(27) GP28 = Pin(28) +GP29 = Pin(29) # ordered as spiId, sckId, mosiId (tx), misoId (rx) -SPI_PORTS = ( +spiPorts = ( (0, GP2, GP3, GP0), (0, GP2, GP3, GP4), (0, GP2, GP7, GP0), @@ -51,7 +54,7 @@ SPI_PORTS = ( ) # ordered as uartId, txId, rxId -UART_PORTS = ( +uartPorts = ( (0, GP0, GP1), (0, GP0, GP13), (0, GP12, GP1), @@ -63,7 +66,7 @@ UART_PORTS = ( ) # ordered as scl, sda -I2C_PORTS = ( +i2cPorts = ( (0, GP1, GP0), (0, GP1, GP4), (0, GP1, GP8),