Page 1 of 1
is storing permanent data to Flash/eeprom possible in Lua?
Posted:
Sat Feb 28, 2015 6:24 pm
by sean_intez
I need to save use data permanently so they can be retrieve in event of power loss. I know wifi password and ssid store permanently, is there anyway to save more data along with them?
Re: is storing permanent data to Flash/eeprom possible in Lu
Posted:
Sun Mar 01, 2015 6:44 am
by alon24
How about just writing it to a file, on the file system?
Re: is storing permanent data to Flash/eeprom possible in Lu
Posted:
Tue Mar 03, 2015 6:23 am
by zdzicho
file.open("test.txt","w")
file.writeline(xxx)
file.writeline(yyy)
file.close()
.
.
.
file.open("test.txt","r")
xxx1 = (file.readline())
yyy1 = (file.readline())
file.close()