
This is a four-bit counter with seven-segment display output. The direction is determined by input pin 0 and it will saturate at 15 when counting up and 0 when counting down.
Connect a clock and use input pin 0 to control direction. Seven-segment is reversed with binary point as the MSB.
List external hardware used in your project (e.g. PMOD, LED display, etc), if any
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | direction [count up || down] | 7seg a | |
| 1 | 7seg b | ||
| 2 | 7seg c | ||
| 3 | 7seg d | ||
| 4 | 7seg e | ||
| 5 | 7seg f | ||
| 6 | 7seg g | ||
| 7 | 7seg h (dot) |