Develop a truth table for a Hex-2-LED decoder that converts a 4-bit binary number into a hexadecimal digit on a seven-segment LED display.
Here's the first two rows:
Sum(3) Sum(2) Sum(1) Sum(0) g f e d c b a
0 0 0 0 1 0 0 0 0 0 0
0 0 0 1 1 1 1 1 0 0 1
Here's the first two rows:
Sum(3) Sum(2) Sum(1) Sum(0) g f e d c b a
0 0 0 0 1 0 0 0 0 0 0
0 0 0 1 1 1 1 1 0 0 1
-
you need only 4inputs and 7 outputs = 11columns
and 16 rows. in the first 4 columns enter the binary code of 0 through 15 one to each row
and just put a 1 in each of the remaining columns to indicate the segments you want on for displaying that number
and 16 rows. in the first 4 columns enter the binary code of 0 through 15 one to each row
and just put a 1 in each of the remaining columns to indicate the segments you want on for displaying that number
-
good idea!
phone parts:http://www.amababa.com
phone parts:http://www.amababa.com