UP/DOWN Counter (0-99) project using Mikroe 7seg Click (2x 74HC595) and Mikroe 2x2 Key Click
Posted: Mon Jul 13, 2026 11:52 am
Hi,
I am slowly learning Flowcode and working on a project that lets me count from 0 to 99 and backward.
The project has four physical buttons on the Mikroe 2x2 Key Click, but I am only using number 1 (UP) and 3 (DOWN).
The display shall be blank at start.
Then, if you press the UP button, it will display 1, and not 01... and the same until 9.
When the counter reaches 100, it will continue with 00, 01, 02, 03... 09, 10, 11...
If you press the DOWN button, it will decrement by 1, of course.
The Mikroe 7seg Click has a different segment routing, as you can see in the enclosed schematic, so I have to use a look-up table to remap the segments.
Enclosed is a part of my initial sketch.
Regards,
Andreas
I am slowly learning Flowcode and working on a project that lets me count from 0 to 99 and backward.
The project has four physical buttons on the Mikroe 2x2 Key Click, but I am only using number 1 (UP) and 3 (DOWN).
The display shall be blank at start.
Then, if you press the UP button, it will display 1, and not 01... and the same until 9.
When the counter reaches 100, it will continue with 00, 01, 02, 03... 09, 10, 11...
If you press the DOWN button, it will decrement by 1, of course.
The Mikroe 7seg Click has a different segment routing, as you can see in the enclosed schematic, so I have to use a look-up table to remap the segments.
Enclosed is a part of my initial sketch.
Regards,
Andreas