Does anybody know how to store data on the SAMD51 (WIO Terminal)?
The SAMD51-based microcontroller has no built-in EEPROM but I found a library FlashStorage_SAMD (GitHub - khoih-prog/FlashStorage_SAMD: The FlashStorage_SAMD library provides a convenient way to store and retrieve user's data using the non-volatile flash memory) which can emulate an EEPROM, from the non-volatile flash memory.
This library is unavailable for XOD, but hopefully, anybody will create a node for it.
Other solutions to store data and retrieve it again after power off, are welcome.
Does anybody have any ideas, please?
Adding an SSD card and using existing XOD libraries might be an easier solution
It’s not possible to read any data from the SD-Card with current libraries for XOD
Here is a topic with a sample of creating an sd card reader node, which describes how to write it and how to make it.Before the last message, Mr. @xodballxod dropped a file with a node reading a line with a file. In order for it to start working correctly, as I understand it, you need to change the line in its “not-implemented-in-xod”: (File file = sd.open(filename, O_WRITE…) as follows: File myFile = SD.open(filename, O_READ);. Unfortunately I don’t have an sd card to check.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.