We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb77966 commit 2883ef9Copy full SHA for 2883ef9
pydospins.py
@@ -61,9 +61,14 @@ def printPinAssignments():
61
print("SD_COPI ",board.COPI)
62
print("SD_CIPO ",board.CIPO)
63
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)
+ if pydos_hw.PyDOS_HW.KFW:
+ print("SD_SCK ",board.GP18)
+ 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)
72
elif 'D14' in dir(board):
73
print("SD_SCK ",board.D14)
74
print("SD_MOSI ",board.D15)
0 commit comments