Hello all,
I've got a bit of an issue with the analog pins in my Arduino Uno. Let me explain real quick what I'm trying to do: I'm controlling five servo motors through the Arduino with five potentiometers, and also have a simple push button hooked up to the sixth analog port (A5) (for some reason the button wouldn't work correctly when I attached it to a digital port). When I turn potentiometers A0 to A3 there's no problem, but when I open up potentiometer A4, it also causes port A5 to register an increase in voltage (and thus falsely starting a different part of my program).
Any suggestions on how to fix this? Or a full explanation of how to hook up my push button to a digital port (I'm still kind of fuzzy on the whole pull-up/pull-down resistor thing there).