I’ve decided to show the circuit construction in a video for the convenience of my readers. Without further ado, here it is.
As mentioned in the video, I used a common anode 7 segment display. What this means is, to turn on a specific LED, the microcontroller have to send a LOW signal. To turn the whole 7 segment display off, all of the pins have to be set HIGH.
Here’s a simple pinout diagram I found on the internet.
With that in mind, I wrote a function to properly display digits and also to clear the whole display if desired. Here is the code.
There are many interesting things that a 7 segment display can do. In the next post, I’ll be showing an example of it 🙂
Thanks for reading.