hi sir iam using 89c51 with C51 compiler i want display voltage on & four 7segment leds.I converted anlog voltage to digital using ADC.now i want display voltage on & 7-segment leds like 0.001v 0.002v . . . 5.000v iam using only one port P1 conacted to the 7-segmentLEDs and i conacted 4 transisters to the port-P2 like P2.1 p2.2 p2.3 p2.4. how to selact the transister according to voltage pleace give one C program on this logic Thanks. chandu
sorry sir you are saying that we have to put continous loop for display if i change input voltage then what happends to the display value. regards nari
"if i change input voltage then what happends to the display value." Surely, you want the displayed value to change?! So, each time you update a digit, be sure to write the current value for that digit!