Using Amtel's interrupt on PIN2 for the trigger, adapting code to handle interrupts, changing STORAGE_HOURS to STORAGE_MINUTES - running out of RAM here ;)