Colour Clock.

A set of small, lit LEDs used as a clockBlinki the Clock works. Red for 0, Yellow for a bit more than 0, back around to red for nearly 0 again. It’s sort of hard to look at it. Mostly the colours can be seen changing on the seconds, but it’s really cool when the hour ticks round and for a moment everything is different.

I have some of the maths wrong in a way I can’t put my finger on. (I have put my finger on this, to get the …. oh, divide by 6, not 10, there. Back in a sec.)

Yeah, it helps if you feed the correct values in. But anyhow, the maths is right now.


I picked up a pimoroni blinkt in a swag bag recently, and I think I should make a colour clock out of it. There’s a simple one-liner for installation of all required libraries, but it pipes to bash.

That is against my religion. I like to know for myself how I’m messing things up. I like to make sure the checksums are right. Disappointingly, I did it through aptitude, and it didn’t go wrong /at all/.


When using a shell script in /etc/init.d to start up a command, make sure you put the shell script there, and not the compiled program.

It didn’t work anyhow, so I’m calling it as a cron job on reboot, but I’m pretty sure the point still stands.

ETA: Aaah. So, there are things called runlevels, and Rasbian is based on Debian, which has them. I’m more a systemd person, so I was looking at the wrong sort of help file.