File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1414
1515import board
1616import busio
17- # import digitalio # Uncomment if your board doesn't support sdcardio
17+
18+ # import digitalio # Uncomment if your board doesn't support sdcardio
1819import storage
1920
2021# import adafruit_sdcard # Uncomment if your board doesn't support sdcardio
21- import sdcardio # Comment out if your board doesn't support sdcardio
22+ import sdcardio # Comment out if your board doesn't support sdcardio
2223import adafruit_vc0706
2324
2425
3435# Uncomment if your board doesn't support sdcardio
3536# sd_cs = digitalio.DigitalInOut(SD_CS_PIN)
3637# sdcard = adafruit_sdcard.SDCard(spi, sd_cs)
37- sdcard = sdcardio .SDCard (spi , SD_CS_PIN ) # Comment out if your board doesn't support sdcardio
38+ sdcard = sdcardio .SDCard (
39+ spi , SD_CS_PIN
40+ ) # Comment out if your board doesn't support sdcardio
3841
3942vfs = storage .VfsFat (sdcard )
4043storage .mount (vfs , "/sd" )
You can’t perform that action at this time.
0 commit comments