Search found 2 matches

by alexanderpruss
Mon Jul 22, 2024 5:54 pm
Forum: General discussion
Topic: ADC issue
Replies: 4
Views: 3041

Re: ADC issue

But the 100 ohm resistor is not connected to the ADC pin, only to V3 or another GPIO.
by alexanderpruss
Fri Jul 19, 2024 3:17 pm
Forum: General discussion
Topic: ADC issue
Replies: 4
Views: 3041

ADC issue

When I put a standard red LED with a 100ohm resistor on a gpio (or just between ground and V3) on my black pill, and I connect PA6 to ground with a 10K resistor, analogRead(PA6) returns around 300 when the LED is on, and 0 when it's off. Is 10K not enough for a pulldown?

I don't have any issue ...

Go to advanced search