X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/050c6e5bdbe0d75d4b0f053addb368421835a3a7..a536d1589003c40d1531f13003bcc548e68d68d2:/src/adafruit_blinka/board/feather_u2if.py diff --git a/src/adafruit_blinka/board/feather_u2if.py b/src/adafruit_blinka/board/feather_u2if.py index caf2a19..d4e6581 100644 --- a/src/adafruit_blinka/board/feather_u2if.py +++ b/src/adafruit_blinka/board/feather_u2if.py @@ -1,6 +1,9 @@ -"""Pin definitions for the Feather RP2040 with u2if firmware.""" - +# SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries +# +# SPDX-License-Identifier: MIT """ +Pin definitions for the Feather RP2040 with u2if firmware. + Adafruit CircuitPython 6.2.0 on 2021-04-05; Adafruit Feather RP2040 with rp2040 >>> import board >>> board. @@ -31,7 +34,9 @@ D25 = pin.GP25 A0 = pin.GP26 A1 = pin.GP27 A2 = pin.GP28 -#A3 = pin.GP29 # not currently supported in firmware +# A3 = pin.GP29 # not currently supported in firmware + +NEOPIXEL = pin.GP16 SCL = pin.GP3 SDA = pin.GP2 @@ -41,4 +46,5 @@ MOSI = pin.GP19 MISO = pin.GP20 # access u2if via pin instance to open for specifc VID/PID -pin.GP0._u2if_open_hid(0x239A, 0x80F2) +# pylint:disable = protected-access +pin.GP0._u2if_open_hid(0x239A, 0x00F1)