The first 4 inputs are 2 two-digit binary inputs. The MSB of each input is at IN0 and IN2, respectively. These are added together into a three-digit binary output that is displayed as the first 3 vertical lines of the seven segment display - specifically, segments f, b, and e, where segment f is the MSB of the output.
Additionally, there is a clock divider that divides 10kHz by 2^16 that turns DP on and off.
Enabling the below inputs should result in the following ouput:
IN0 | IN1 | IN2 | IN3 | F | B | E |
---|---|---|---|---|---|---|
0 | 0 | 0 | 0 | 0 | 0 | 0 |
0 | 1 | 0 | 0 | 0 | 0 | 1 |
1 | 0 | 0 | 0 | 0 | 1 | 0 |
0 | 0 | 1 | 1 | 0 | 1 | 1 |
1 | 1 | 0 | 1 | 1 | 0 | 0 |
1 | 1 | 1 | 1 | 1 | 1 | 0 |
# | Input | Output | Bidirectional |
---|---|---|---|
0 | IN0 | ||
1 | IN1 | OUT1 | |
2 | IN2 | ||
3 | IN3 | ||
4 | OUT4 | ||
5 | OUT5 | ||
6 | |||
7 |