i´ve built these things here,( they are from blinking bouncing balls)
into a tonfa
if you hit with the tonfa onto something,
the spring bends and makes a contact with the metal thing around her.
its like a button, that reacts to kinetic energy.
there are more then one "button" built into the tonfa to find out how hard the tonfa was used.
i used the button example code, to light up corresponding led´s, this worked fine.
it would be also cool to know WHEN, WHICH "button" was used.
so the first single question, how do i store digital input to eeprom?
if i have for example 3 buttons, how do i store the signal of these buttons in the eeprom.
next question would be,
can i do it time-related?