• Notice that too... before first analogRead(), the pin was not floating because initialized as input with pulled-down. Afterwards, it jumped all over the place... Since I needed a digitalRead() for good and the analogRead() only temporarily to figure out some resistor network, I did a pull-down with the digitalRead(). The digitalRead() 's pull-down will stay.


Avatar for allObjects @allObjects started