3 ms·
That was easy -- eventually. One only has to believe what the micropython manual says and not watch any instructables-videos. >>> os.mount(machine.SDCard(sl
by timonoko 4y ago
That was easy -- eventually. One only has to believe what the micropython manual says and not watch any instructables-videos.
>>> os.mount(machine.SDCard(slot=2),"/sd")
>>> os.listdir('/sd')
['DCIM', 'VIDEO', 'PHOTO']
- timonoko 4y agoUsing SD-card on ESP8266 was more challenging. upip.install('sdcard') did not work. But ChatGPT truly helped and suggested I find it in Github. https://github.com/micropython/micropython-lib/blob/master/micropython/drivers/storage/sdcard/sdcard.py https://github.com/micropython/micropython-lib/blob/master/m...