On the Subject of Digital Clock

Beep beep beep beep, beep beep beep beep.

Start using the Digital Clock

1) "Mode" button function

Press and hold the "mode" button for about 2 seconds to enter into alarm clock mode.

The alarm will be automatically set after 5 seconds of inactivity.

2) "Hour" button function

Press the "hour" button to cycle between hours.

Press and hold the "hour" button to cycle between hours faster.

3) "Minute" button function

Press the "minute" button to cycle between minutes.

Press and hold the "minute" button to cycle between minutes faster.

4) "Temp" button function

Press the "temp" button to toggle between temperature units, Celsius and Fahrenheit.

5) "Reset" button function

Press the "reset" button to reset the alarm and go back to normal mode.

Start solving the Digital Clock

The characteristics of the digital clock is bought by users who desire specific time to sleep.

Based on the characteristics from the digital clock, determine the time for alarm to be set.

The time of alarm is determined by adding sleep duration from the initial time shown.

Adjust the alarm to the correct resulting time to disarm the module. Setting an incorrect time results in a strike.

Characteristics to Sleep Duration conversion table:

Characteristics Sleep Duration
24 hours format +3 hr
Background Color +1 min per 1 R/G/B component
Digit Color +1 min per 1 R/G/B component
Colon is blinking +2 hr
Temperature +1 min per 1 °C, -1 min per 1 °F

Appendix: Color codes

R G B
Red 255
Orange 255 128
Cyan 255 255
Yellow 255 255
Blue 255
Lime 128 255
Purple 128 255
White 255 255 255
Black