Store and read data to SD CARD
Peavey5150
Posts: 20
How do I save data to a text file from the propeller activity board itself, and then have the propeller activity board read the data back from the SD card after rebooting the system ?
This Project is for machine learning. Robot learns from each trial and would remember data after shut down.
C lang
activity bot 360
propeller activity board wx
This Project is for machine learning. Robot learns from each trial and would remember data after shut down.
C lang
activity bot 360
propeller activity board wx
Comments
modEdit: code blocks added
Make your code easier to read. In close it between code tags by selecting the "C" from the header and enclosing code between the tags.
Jim
Thanks
What do you want your ActivityBot to "Learn"?
You will need to create some kind of data format that stores this information and then create code that is able to replay or analyze it.
Also understand that unless you provide your servos a constant voltage they will move slower as the voltage drops so any distance or time record would be inaccurate.
Thanks for the tips.
I was just missing File*
to read code after shutdown. I got it now.