]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/board/qtpy_u2if.py
Merge pull request #1005 from makermelissa/libgpiod-fix
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / board / qtpy_u2if.py
index 0f52ff43b578ed9198f057a64509d5e7c049e102..1958777d3aa40e2b719570ed33797bde2e810e10 100644 (file)
@@ -1,6 +1,9 @@
-"""Pin definitions for the QT Py RP2040 with u2if firmware."""
-
+# SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
+#
+# SPDX-License-Identifier: MIT
 """
+Pin definitions for the QT Py RP2040 with u2if firmware.
+
 Adafruit CircuitPython 6.2.0 on 2021-04-05; Adafruit QTPy RP2040 with rp2040
 >>> import board
 >>> board.
@@ -29,7 +32,7 @@ D8 = pin.GP6
 D9 = pin.GP4
 D10 = pin.GP3
 
-#A0 = pin.GP29 # not currently supported in firmware
+# A0 = pin.GP29 # not currently supported in firmware
 A1 = pin.GP28
 A2 = pin.GP27
 A3 = pin.GP26
@@ -50,4 +53,5 @@ NEOPIXEL_POWER = pin.GP11
 BUTTON = pin.GP21
 
 # access u2if via pin instance to open for specifc VID/PID
-pin.GP0._u2if_open_hid(0x239A, 0x80F8)
+# pylint:disable = protected-access
+pin.GP0._u2if_open_hid(0x239A, 0x00F7)