Forum Discussion
Altera_Forum
Honored Contributor
8 years agode0 Nano ADC interfacing
Hi all, Im trying to interface with the ADC on the de0 nano, with a simple program to start with: -Turn on LEDs if ADC value > 1.5V -Turn off LEDs if ADC value <= 1.5V It seems that I ...
Altera_Forum
Honored Contributor
8 years agoYou don't set the initial value of led, and you don't have any code that would turn LEDs back off once they are on. There's one assignment that turns most of them on if adcSample is equal to 150 at any moment (however briefly), and after that LEDs remain in that state permanently.