Go Down

Topic: is it possible to save small data without external medium like SD shield (Read 1 time) previous topic - next topic

kriogenic

Hey everyone,

I have a question I have been wondering about. I am making a simple game with the arduino and would like to add a highscore system displayed on my LCD

My question is, is it possible to do so WITHOUT adding storage media like an SD card like maybe saving to program memory?

I have no idea if its possible but thought it would be worth looking into instead of adding an SD card shield to store 120 bytes max of data

Thanks,
Kriogenic

PaulS

The art of getting good answers lies in asking good questions.

kriogenic

Oh yeah I totally forgot about that >.< what a stupid question...

Thanks for the help...

robtillaart

Quote
what a stupid question.


Only questions not asked can be stupid ... (variant of a chinese proverb :)
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

kriogenic

I like that proverb xD

Solved thanks for the help everyone.

I am stuck with another issue...
I would like to store a little bit of information into eeprom only ever 7 bytes
AJP - [score]

where score is an int,

I am having no problems writing to the EEPROM using EEPROM.write(address,byte)
Where I am having a problem is reading the data back into TWO buffers
one is a string which should contain "AJP - 100" for example and another one which is an integer to hold JUST the scores
100 in this case allowing me to then display the highscore as a string but also do arithmetic on the score itself.

Anyone have any ideas on how to accomplish this?

Go Up