drivers/sdcard: Update SD mounting example code for ESP8266.

crypto-aes
Damien George 5 years ago
parent 5591bd237a
commit 3759aa2cc9
  1. 5
      drivers/sdcard/sdcard.py

@ -15,9 +15,8 @@ Example usage on ESP8266:
import machine, sdcard, os
sd = sdcard.SDCard(machine.SPI(1), machine.Pin(15))
os.umount()
os.VfsFat(sd, "")
os.listdir()
os.mount(sd, '/sd')
os.listdir('/')
"""

Loading…
Cancel
Save