This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

logic program

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

Parents Reply Children