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