Closed jdede closed 4 months ago
Works for MoleNetv6
Here is a MWE for MoleNetv6 & Python.
import machine, os
sd = machine.SDCard(slot=2, sck=machine.Pin(12), miso=machine.Pin(13), mosi=machine.Pin(11), cs=machine.Pin(10))
sd.info()
os.mount(sd, "/sd")
os.listdir('/sd')
os.umount("/sd")
Found problem in the Sd card connection in the schematics. Pin 7 and 8 was swapped according to reference designs. Corrected the pins. Afterwards checked with different size Sd cards to write and read, it works as expected. (Faruk&Karun)