If by reset you mean reset without power cycle, search the forum for "memory retention" keywords. There is plenty of topics about that. If you want to power-cycle, use non-volatile memory as @Moritz suggested.
If by reset you mean reset without power cycle, search the forum for "memory retention" keywords. There is plenty of topics about that. If you want to power-cycle, use non-volatile memory as @Moritz suggested.