storing data in memory
Posted: Sun Mar 01, 2020 9:45 pm
Hi all,
with the help of a great contributing member of this forum I made a display showing me some data from my motorcycle. just fun stuff! I don't want to bother him unnecessary with all my small questions.
I'm testing it now and besides other things it shows also the gearbox being in neutral. of coarse there is already a perfectly working neutral light but that is not the fun. A data signal when I switch on the ignition tells other components its in neutral.
Soo here is the challenge. now in colder weather when turn ignition on it shows nicely a neutral, but when I start the engine the voltage drops so far the unit restarts and misses the neutral signal (its only send ones). Is there a way to store a local variable somehow in a deeper memory so it would be there at startup.? I need to store other data too later but this is a good start.
I made a very simplistic fictive example.. if somebody could point me in the right direction I would be very grateful!
im using a Atmega328P
Thanks, Angelo.
with the help of a great contributing member of this forum I made a display showing me some data from my motorcycle. just fun stuff! I don't want to bother him unnecessary with all my small questions.
I'm testing it now and besides other things it shows also the gearbox being in neutral. of coarse there is already a perfectly working neutral light but that is not the fun. A data signal when I switch on the ignition tells other components its in neutral.
Soo here is the challenge. now in colder weather when turn ignition on it shows nicely a neutral, but when I start the engine the voltage drops so far the unit restarts and misses the neutral signal (its only send ones). Is there a way to store a local variable somehow in a deeper memory so it would be there at startup.? I need to store other data too later but this is a good start.
I made a very simplistic fictive example.. if somebody could point me in the right direction I would be very grateful!
im using a Atmega328P
Thanks, Angelo.