Error in access SD card
-
Dear all,
I'm using M5Stack Fire with firmware v1.9.8 and LoRa 868MHz module (blue one).
The programming through UIFlow was successful until now with some nice tests of- ENV III sensor,
- NTP timing,
- LoRa init example,
- ...
I'm trying to access an SD card now to log the ENV III sensor data locally.
from m5stack import * from m5ui import * from uiflow import * setScreenColor(0x222222) with open('/sd/FileName.*', 'r') as fs: lcd.print((fs.read()), 0, 0, 0xffffff)Unfortunately the example code hereunder gives me an error.
File "<string>", line 15, in <module> OSError: [Errno 19] ENODEVThe SD card is a SanDisk Extreme Pro 32Gb.
- I formatted it under Windows 11 into Fat32.
- I copied a single text file on it.
- I inserted it the pads facing up (same direction than the screen).
Could someone help me out in the debugging ?
Thanks in advance,
C.A. -
Edit:
is there any limit in size for the SD cards ?
if so, what is it ?Best regards,
C.A.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login