SHA2017-badge / Firmware

ESP32 firmware for the SHA2017 badge
https://wiki.sha2017.org/w/Badge
Other
83 stars 36 forks source link

SDCard Support #196

Closed ripper121 closed 7 years ago

ripper121 commented 7 years ago

Why is there no SDCard Support?

import machine, sdcard, os Traceback (most recent call last): File "", line 1, in ImportError: no module named 'sdcard'

basvs commented 7 years ago

there is sdcard support, but maybe not in a micropython way.

try 'badge.mount_sdcard()' and the sdcard is mounted as /sdcard. (this folder is not visible unless you create it first with uos.mkdir('/sdcard') before mounting)