| Mode | Key | Action |
|---|---|---|
| Normal | Black | Arming/disarming the alarm |
| Red | Start time adjust | |
| White | Start alarm time adjust | |
| Time adjust | Black | Skip time adjust |
| Red | Store adjusted time (Hour, Minute) | |
| Alarm time adjust | Black | Skip alarm time adjust |
| White | Store adjusted alarm time (Hour, Minute), if minute adjusted arm the alarm | |
| Alarm | Black | Deactivate and disarm the alarm, reset the original alarm time |
| Red | Deactivate the alarm, add five minutes to the alarm time |
Be aware that fresh ATmega16's are working with the internal RC clock. After writing
the flash and EEPROM code and prior to using the clock the fuses of the ATmega16
have to be adjusted to use the external crystal as clock source. This is done at
best within the clock by ISP programming.