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 14
14
15
15
import board
16
16
import busio
17
- # import digitalio # Uncomment if your board doesn't support sdcardio
17
+
18
+ # import digitalio # Uncomment if your board doesn't support sdcardio
18
19
import storage
19
20
20
21
# 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
22
23
import adafruit_vc0706
23
24
24
25
34
35
# Uncomment if your board doesn't support sdcardio
35
36
# sd_cs = digitalio.DigitalInOut(SD_CS_PIN)
36
37
# 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
38
41
39
42
vfs = storage .VfsFat (sdcard )
40
43
storage .mount (vfs , "/sd" )
You can’t perform that action at this time.
0 commit comments