I was wondering if there is a way with the arduino board and programming interface to have non-volatile variables? I've done this sort of thing with the PIC microcontrollers before, where I store a value in a section of memory that won't erase when it loses power, then when it starts back up, pick the value up.
For example, if I have the variable i=1 and if I have a button I push that sets it to 2. Next time I start the board up I want it to stay 2.... any ideas?