DON'T use pinMode() on a pin used only for analogRead().
You have THREE pin variables but you only initialize two of them. Then you use the third.
DON'T use pinMode() on a pin used only for analogRead().
You have THREE pin variables but you only initialize two of them. Then you use the third.