Search found 2 matches
- Mon Dec 19, 2022 11:27 am
- Forum: General Discussion
- Topic: How to mount sdcard on S3 Lolin Pro via Micropython
- Replies: 2
- Views: 1869
Re: How to mount sdcard on S3 Lolin Pro via Micropython
The card works ( I tested independently.) Just for anyone else: What I found worked is this: import sdcard sd = sdcard.SDCard(machine.SPI(N, sck=machine.Pin(12), mosi=machine.Pin(11), miso=machine.Pin(13)), machine.Pin(46)) os.mount(sd, "/sd") print(os.listdir("/sd")) where N =1 or 2
- Fri Dec 16, 2022 10:30 am
- Forum: General Discussion
- Topic: How to mount sdcard on S3 Lolin Pro via Micropython
- Replies: 2
- Views: 1869
How to mount sdcard on S3 Lolin Pro via Micropython
Hello Any pointers to getting sdcard working on a Lolin S3 Pro? I have tried import os from machine import Pin from machine import SDCard sd = SDCard(slot=2, sck=Pin(12), mosi=Pin(11), miso=Pin(13), cs=Pin(46)) os.mount(sd, "/sd") but am getting Traceback (most recent call last): File "<stdin>", lin...