source code The clockpuzzle is a toy project I’ll work on occasionally to test out new programming languages. The gist of the puzzle is as follows:
Using no more than 4 “LEDs” at any point, use this LED matrix to display the time in hours and minutes. As a hint, there is a dedicated PM indicator LED.
□ □ □
□ □ □ □
□ □ □ □ □
□ □ □ □
□ □ □ □ □
□ □ □ □
□ □ □
The puzzle below represents 00:49
□ □ □
□ □ □ □
□ ■ □ □ □
□ □ □ □
□ □ □ □ ■
□ □ □ □
□ □ □