Hi everybody,
I'm designing a student project, it is a design and implementation of a multimeter. I'm using 80188 CPU, AD2780 AD converter and display the result by 6 7-segment LEDs.
The problem is:
- How to I display the digital output to the 7-segment LEDs in real number format?
Exp I got the 0b 1101 0111 ( = 215D) after AD step. From this result, the input voltage is supposed to be 215\256 * 5(V) = 4.2V.
How do I display 11010111 in 4.2V LEDs format?
Thanks a lot
LED1 LED2 LED3
4 . 2
I'm designing a student project, it is a design and implementation of a multimeter. I'm using 80188 CPU, AD2780 AD converter and display the result by 6 7-segment LEDs.
The problem is:
- How to I display the digital output to the 7-segment LEDs in real number format?
Exp I got the 0b 1101 0111 ( = 215D) after AD step. From this result, the input voltage is supposed to be 215\256 * 5(V) = 4.2V.
How do I display 11010111 in 4.2V LEDs format?
Thanks a lot
LED1 LED2 LED3
4 . 2