10 lines
156 B
Python
10 lines
156 B
Python
import os
|
|
from machine import SPI
|
|
from pyb import Pin
|
|
from sdcard import SDCard
|
|
|
|
def mount_sd():
|
|
sd = SDCard(SPI(0), Pin("A22"))
|
|
os.mount(sd, '/')
|
|
|