unsigned int ON_BLUE_hr = 0b00001000;
unsigned int ON_BLUE_min = 0b00000000;
unsigned int ON_MAIN_hr = 0b00001001;
unsigned int ON_MAIN_min = 0b00000000;
unsigned int OFF_MAIN_hr = 0b00100000;
unsigned int OFF_MAIN_min = 0b00000000;
unsigned int OFF_BLUE_hr = 0b00100000;
unsigned int OFF_BLUE_min = 0b00110000;
the alarm time display correctly on an lcd but the but the light only turn on when they should.
From what I gather ( i may be wrong) that routine has the alarm triggering at a set time/date which isn't what I'm after I need the alarm to be on between the 2 times incase the power is turned off then the light will go back to what ever state it should be at when the power turn on again.