valold = digitalRead(meterA);
nextUpdate = millis() + cycleTime;
pinMode(meterA, INPUT);
Read from the pin, and then make it an input. Novel approach.
valold = digitalRead(meterA);
nextUpdate = millis() + cycleTime;
pinMode(meterA, INPUT);
Read from the pin, and then make it an input. Novel approach.