Button

A pushbutton turns on an LED when you press it.

Connect one leg of the pushbutton to 5 volts and the other to digital pin 2 and a 10kΩ pull-down resistor.

By omer
Created on March 23, 2009, 12:17

Category: Digital

Difficulty: kids

License:  Creative Commons Attribution-Share Alike 3.0 Unported License

Tags: digital, input, button, led

Images

Files

Links

  • Print this
© 2007 - 2011 University of Applied Sciences Potsdam