File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed
Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 33
44if implementation .name .upper () == "CIRCUITPYTHON" :
55 import board
6- elif implementation .name .upper () == "MICROPYTHON" :
6+ if board .board_id = 'raspberry_pi_pico' :
7+ try :
8+ import kfw_pico_board as board
9+ except :
10+ pass
11+
12+ try :
13+ import cyt_mpp_board as board
14+ except :
15+ pass
16+ elif board .board_id = 'unexpectedmaker_feathers2' :
17+ try :
18+ import kfw_s2_board as board
19+ except :
20+ elif implementation .name .upper () == "MICROPYTHON" :
721 from os import uname
822
923
@@ -61,9 +75,9 @@ def printPinAssignments():
6175 print ("SD_COPI " ,board .COPI )
6276 print ("SD_CIPO " ,board .CIPO )
6377 elif board .board_id == 'raspberry_pi_pico' :
64- print ("SD_SCK " ,board .GP10 )
65- print ("SD_MOSI " ,board .GP11 )
66- print ("SD_MISO " ,board .GP12 )
78+ print ("SD_SCK " ,board .GP18 )
79+ print ("SD_MOSI " ,board .GP19 )
80+ print ("SD_MISO " ,board .GP16 )
6781 elif 'D14' in dir (board ):
6882 print ("SD_SCK " ,board .D14 )
6983 print ("SD_MOSI " ,board .D15 )
You can’t perform that action at this time.
0 commit comments