Trying to make an alarm clock but boolean alarmisON is always true?

Oh, and please take away that delay(1) inside printDigits()

And fix the function name and argument name. The function prints ONE digit, not multiple digits.