parallel resistance ,Arduino

Discussion in 'Homework Help' started by activee, Mar 4, 2015.

  1. activee

    Thread Starter Member

    Jan 16, 2014
    39
    0
    [​IMG]
    I'm a noob so sorry if my question is stupid. So the pin 2 is an input. When the button is pressed the currents go through the yellow wire, but shouldn't the resistance be between the yellow and the switch ?

    Can someone enlight me ?
     
  2. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,510
    2,369
    The resistor is holding the input low when the switch is open, instead of left floating.
    Pull down resistor.
    Max.
     
Loading...