i have a DS1307 chip with my arduino. and three led blue, yellow and red.
i would like to do something like this
12:00 turn on red 17:00 turn on yellow 20:00 turn on blue
i know i have to turn the ds1307 now.hour * 60 + now.minute to current_time_by_minutes to compare the specify time to turn on which LED.
can someone tell me what should in the if statement to compare the current_time_by_minutes and let the program know which time to turn on which led ?