SD
Quick Example Usage:
from machine import SD
import os
sd = SD()
os.mount(sd, '/sd')
# check the content
os.listdir('/sd')
# try some standard file operations
f = open('/sd/test.txt', 'w')
f.write('Testing SD card write operations')
f.close()
f = open('/sd/test.txt', 'r')
f.readall()
f.close()Constructors
class machine.SD(id, ...)
Methods
sd.init(id=0)
sd.deinit()
Last updated