
My project requires a 7-segment display connected to the output of the circuit on the first 7 out pins. One needs to input the correct 8-digit binary number, the number being 137 decimal and 10001001 binary in my case, and set the input pins to the corresponding state to see the letter "Y" - the first letter of my name light up on the 7-segment display. 1 being a corresponding to high pin and 0 corresponding to a low pin.
To test my project one has to connect a 7-segment display to the output with the pins A-G connected to outputs 0-7. Afterwards, set the input pins to the correct values corresponding to the binary representation of the decimal number 137 with the lowest digit corresponding to the lowest-numbered pin: 1st digit - 0th pin, etc.
A 7-segment display.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | 1st digit of the binary number code | Pin connected to the SEG_A pin of the 7-segment display | |
| 1 | 2nd digit of the binary number code | Pin connected to the SEG_B pin of the 7-segment display | |
| 2 | 3rd digit of the binary number code | Pin connected to the SEG_C pin of the 7-segment display | |
| 3 | 4th digit of the binary number code | Pin connected to the SEG_D pin of the 7-segment display | |
| 4 | 5th digit of the binary number code | Pin connected to the SEG_E pin of the 7-segment display | |
| 5 | 6th digit of the binary number code | Pin connected to the SEG_F pin of the 7-segment display | |
| 6 | 7th digit of the binary number code | Pin connected to the SEG_G pin of the 7-segment display | |
| 7 | 8th digit of the binary number code |