Pi Day 2024
Posted on Thu 14 March 2024 in Math
Happy Pi Day 2024! Here's the video of my project to have a Raspberry Pi calculate Pi and show the digits on a scrolling LED clock display.
I used the Spigot algorithm to generate the digits of Pi and here's more about how Spigot works
This was a fun learning project for me. The calculation of Pi was the easy part! This was my first time working with the 7-segment LED display, so I spent lots of time starting at a blank display wondering what was wrong. But I stuck with it and finally understood how common anode electronics work.
There's no other control chips involved. My code directly controls the display, managing the animation on my own. I wrote my code in C using the pigpio library.