Code added to translate RTC time to active LEDs