1. Name

  2. Date

  3. A pull-down resistor configuration is a
  4. With the pull-down resistor configuration, what is the value read by digitalRead() when the button is pressed?

  5. With the pull-down resistor configuration, what is the value read by digitalRead() when the button is released?

  6. With the pull-up resistor configuration, what is the value read by digitalRead() when the button is pressed?

  7. 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?