My code is:
if ((minute == 31) && (hour == 4, 6, 9, 11))
{
digitalWrite(8, HIGH);
}
I want to turn on LED,the LEDs when it is exactly 04:31, 06:31, 09:31, 11:31.
- 04:31,
- 06:31,
- 09:31,
- 11:31
However, the code above doesn't work. Might
Might be the multiple values the reason for this?