A to D converter- programming in C or assembly code
$30-250 USD
In Progress
Posted almost 13 years ago
$30-250 USD
Paid on delivery
design a voltmeter to read the voltage from an an analog input and display it on the middle of the PC screen with white foreground and blue background. Assume that an analog to digital converter (ADC) is already implemented and measured voltage can be found out at memory location $0010 write a program in C language or assembly to display the measured voltage on screen as specified
0.00-0.99 Volts=00 HEX to 32 HEX
1.00-1.99 volts=33 HEX to 65 HEX
2.0-2.99 volts =66 HEX to 98Hex
3.00- 3.99 volts= 99 HEX to CB Hex
4.00-4.99 volts=CC HEX to FE Hex
5.00 volts=FF HEX
HEX Volts
00 0.00
01 0.02
02 0.04
03 0.06...........
15 0.41
16 0.43
.
.
..
.
1F 0.61
20 0.63
21 0.65
22 0.67
23 0.69
24 0.71
.............
29 0.8
2A 0.82
2D 0.84
2C 0.86
2D 0.88
2E 0.90
2F 0.92
30 0.94
31 0.96
32 0.98