1/. Use the Fixed Voltage Reference (FVR) instead of Vdd as your ADC reference voltage.
2/. Add some capacitance - say 100nF - between the pot wiper and ground.
Cheers
Barry
VK2XBP
1. Yeah, FVR is on my TO-DO list (Richard mentioned it up there).
2. Does it matter if the cap is at the switch or up against PIC (like decoupler caps).
3. Temp is also on my TO-DO list.
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
Bookmarks