I Have To Make Voltage Measurement Sytem Using STM8 ADC Peripheral . But I Don't Have Any Idea About It.

i have 5 leds that i have to use as led bar graph. i have to take input of 5v and have to show it like if it is 0 to 1 v then one led keeps blinking. if it is 1 exctally then one led turn on comletely. same as when 1 to 2v then first led is on but 2nd starts blinking. and at 2v it glows completly. and so on.
i know how to confiure adc but how to connect al this wid led blinking and what qould be the syntex for STM8 i dnt know .
plzz help

Images

Replies

RAvinash

2016-08-13 15:58:07

post your program ...

RAvinash

2016-08-14 07:06:22

also which development board you are using for this?

Post a reply to arpita gupta

Think you can help arpita gupta ? Then post your thoughts that might help arpita gupta. You will earn a lot of reputation in the technical community.

Name

Email address

Your reply ...

Program (Optional)

If your program is in multiple files, then ZIP the entire folder and attach below