Forum Discussion

fmala's avatar
fmala
Icon for New Contributor rankNew Contributor
5 years ago

How to convert an Analog voltage to Digital and display it to 10 LED using DE10-lite

Hi,

I need help on how to convert an analog output voltage of a potentiometer to digital then display the digital value, per bit, to LED red (LEDR = DigitalVal[11:2]). I know how to code and how to display to LEDR but what I want to know is how to convert the Analog to Digital. I need the digital value. Could you please guide me on how to setup?

There is already a question on how to setup the DE10-lite for ADC but it didn't help.

3 Replies