Skip to main content
2 of 3
added 221 characters in body

Multiple variables values in IF

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?