X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka.git/blobdiff_plain/7c00779e475ef10923dc53fddb20ad23eae484af..ef2657eaa1caf3262c6bbe1f2df5b6ed08f72162:/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 e16890f..518090d 100755 --- a/src/adafruit_blinka/microcontroller/rp2040/pin.py +++ b/src/adafruit_blinka/microcontroller/rp2040/pin.py @@ -1,6 +1,9 @@ +# SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries +# +# SPDX-License-Identifier: MIT """RP2040 pins""" -from microcontroller import Pin +from ..generic_micropython import Pin GP0 = Pin(0) GP1 = Pin(1) @@ -37,12 +40,31 @@ GP29 = Pin(29) spiPorts = ( (0, GP2, GP3, GP0), (0, GP2, GP3, GP4), + (0, GP2, GP3, GP16), (0, GP2, GP7, GP0), (0, GP2, GP7, GP4), + (0, GP2, GP7, GP16), + (0, GP2, GP19, GP0), + (0, GP2, GP19, GP4), + (0, GP2, GP19, GP16), (0, GP6, GP3, GP0), (0, GP6, GP3, GP4), + (0, GP6, GP3, GP16), (0, GP6, GP7, GP0), (0, GP6, GP7, GP4), + (0, GP6, GP7, GP16), + (0, GP6, GP19, GP0), + (0, GP6, GP19, GP4), + (0, GP6, GP19, GP16), + (0, GP18, GP3, GP0), + (0, GP18, GP3, GP4), + (0, GP18, GP3, GP16), + (0, GP18, GP7, GP0), + (0, GP18, GP7, GP4), + (0, GP18, GP7, GP16), + (0, GP18, GP19, GP0), + (0, GP18, GP19, GP4), + (0, GP18, GP19, GP16), (1, GP10, GP11, GP8), (1, GP10, GP11, GP12), (1, GP10, GP15, GP8),