Visitor II
February 25, 2021
Question
My potentiometer in a adc led counter doesnt work
- February 25, 2021
- 1 reply
- 1189 views
Im trying to do an ADC led counter, but when i debug my program i see the live expression and i can watch the changes in the potentiometer, but D10,D9,D8 AND D7 are on but with 1.8v, and d5,d4,d3,d2 turn on with 3.3v, the main idea is that when i rotate the potentiometer the leds will turn on one by one, what u think about this, what can i change.
Potentiometer in ADC_0 and 8 leds, each with a resistence of 1k, im using a PORTD; using D10, D9, D8, D7. D5, D4, D3, D2.
