Skip to content

Commit 2883ef9

Browse files
Pin documentation update for Pico
1 parent bb77966 commit 2883ef9

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

pydospins.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,14 @@ def printPinAssignments():
6161
print("SD_COPI ",board.COPI)
6262
print("SD_CIPO ",board.CIPO)
6363
elif board.board_id == 'raspberry_pi_pico':
64-
print("SD_SCK ",board.GP18)
65-
print("SD_MOSI ",board.GP19)
66-
print("SD_MISO ",board.GP16)
64+
if pydos_hw.PyDOS_HW.KFW:
65+
print("SD_SCK ",board.GP18)
66+
print("SD_MOSI ",board.GP19)
67+
print("SD_MISO ",board.GP16)
68+
else:
69+
print("SD_SCK ",board.GP14)
70+
print("SD_MOSI ",board.GP15)
71+
print("SD_MISO ",board.GP12)
6772
elif 'D14' in dir(board):
6873
print("SD_SCK ",board.D14)
6974
print("SD_MOSI ",board.D15)

0 commit comments

Comments
 (0)