analogValue1 = analogRead(0);analogValue2 = analogRead(5);
delay(50);analogValue1 = analogRead(0);delay(50);analogValue2 = analogRead(5);
Any thoughts? Help would be appreciated, from a relative newbie.
To make it simple, lets just say its a simple switch setup attached to both. either the circuit is open, or its closed, and i'm trying to determine if none, one, or both are closed on each loop. I'm probably doing something stupid, because it was working before, and when I tried to backpedal, it no longer works at that point any longer. But I can't figure it out, for the life of me.
the switches are more like potentiometers that go from open, to some level of resistance, to closed.