]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/board/feather_u2if.py
Untangle code and remove pylint disables
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / board / feather_u2if.py
index caf2a1990b5c0560acef49ed8238c75f067a7338..d4e6581d09c733e065c324361de5af35d1adc9e3 100644 (file)
@@ -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.
 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
 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
 
 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
 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)