i have an analog signal wich i'm connecting to a/d converter, the outputs of the a/d is 8 bit binary and i want to display it on 7-seg(i need 3 7-seg to display "0-
255", the problem is that every 7-seg need 4 bit to display 0-9 but in binary after 9 comes 10 and 7-seg cant display 10, i need "1" for one 7-seg and "0" to another,
so i need to convert the 8 bit binary to 3 groups of 4 bits and every group is between 0000-1001 (0-9)
A/D=255= 11111111 -> 3X 7-seg= 11 , 0101, 0101
one more example: if a/d is 1010 i need 10000
255", the problem is that every 7-seg need 4 bit to display 0-9 but in binary after 9 comes 10 and 7-seg cant display 10, i need "1" for one 7-seg and "0" to another,
so i need to convert the 8 bit binary to 3 groups of 4 bits and every group is between 0000-1001 (0-9)
A/D=255= 11111111 -> 3X 7-seg= 11 , 0101, 0101
one more example: if a/d is 1010 i need 10000