When a pin is set to PULLUP what do you expect to be on the pin when a digital read is done?
Of course pin2 will be a HIGH or a 1 because the pin is pulled high!!
When a pin is set to PULLUP what do you expect to be on the pin when a digital read is done?
Of course pin2 will be a HIGH or a 1 because the pin is pulled high!!