I’ve had a Unicorn pHAT sitting in a box for a while, but I finally used it in a simple project. Because it has four rows of LEDs, I thought it would be ideal to make a binary clock from.



A script fetches the time, converts it to binary and lights up the matching pixels on the LED matrix. Because the matrix has RGB LEDs, any colour can be used


You can find the full post and code on my blog: Binary Clock – Frederick Vandenbosch