Name
Date
A pull-down resistor configuration is a
With the pull-down resistor configuration, what is the value read by digitalRead() when the button is pressed?
With the pull-down resistor configuration, what is the value read by digitalRead() when the button is released?
With the pull-up resistor configuration, what is the value read by digitalRead() when the button is pressed?
Lets say you wanted to design a switch so that when its pressed, the value read from the pin is 1, and when it's released the value is 0. Would you use a pull-up or pull-down resistor configuration?