Hello! I am learning how to code ADC. My goal in this code is to turn on different leds with the potentiometer but somehow the code doesn't work. The value of ADC1BUF10 is always 0, so always turn only the led red.
Best Regards
PS: forget my timer confi..
↧