Skip to content

Commit 648078a

Browse files
committed
adapt to QTPy
1 parent a75cadf commit 648078a

File tree

1 file changed

+4
-4
lines changed
  • CircuitPython_Tandy1000Keyboard_QTPy_RP2040

1 file changed

+4
-4
lines changed

CircuitPython_Tandy1000Keyboard_QTPy_RP2040/code.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@
6363
# D12 = green = CN3 = CLOCK
6464
# D13 = yellow = CN4 = /BUSY
6565

66-
KBD_NRESET = board.D10
67-
KBD_DATA = board.D11
68-
KBD_CLOCK = board.D12
69-
KBD_NBUSY = board.D13
66+
KBD_NRESET = board.MISO
67+
KBD_DATA = board.RX
68+
KBD_CLOCK = board.SCK # Note that KBD_CLOCK must be 1 GPIO above KBD_DATA
69+
KBD_NBUSY = board.MOSI
7070

7171
# Assert busy
7272
busy_out = digitalio.DigitalInOut(KBD_NBUSY)

0 commit comments

Comments
 (0)