Is there any way to store information when the flashlight is off?
I have a program similar to the factory program, but it allows you to turn off the light without cycling through all brightnesses. I'd like to store the last brightness when I turn it off so that I can return it to that brightness when I turn it back on. I have it working fine when plugged in to USB but when I unplug it loses the bit that stores the brightness setting. Is there any way around this?
EDIT: Figured it out! EEPROM. New to this arduino thing.
Is this a good question?