Breadboard1 Wire1 Wire2 LED1 Wire3 R1 Wire4 Wire5 Wire6 Wire7 Note1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Lucida Grande'; font-size:13pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:8pt;">In this example, a tilt switch is used (just like a button) as a digital input, and an LED is a digital output. The resistor is a pull-down resistor.</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:8pt;">Related example: </span><a href="http://www.arduino.cc/en/Tutorial/TiltSensor"><span style=" text-decoration: underline; color:#0000ff;">http://www.arduino.cc/en/Tutorial/TiltSensor</span></a></p></body></html> S1 Wire18 Wire30 Arduino1 Wire19 Wire31 Wire32 Wire33 Wire34 Wire35 Wire36 Wire20 Wire37 Wire21 Wire38 Wire39 Wire22 Wire40 Wire23 Wire41 Wire42 Wire43 Wire44 PCB2 Wire53 Wire57 Wire58 Wire59 Wire60 Wire61 Wire62 Wire63 Wire65 Wire32 Wire33 Wire36 Wire38 Wire39 Wire46 Wire47 Wire50 Wire52 Wire53 Wire55 Wire57 Wire59 Wire62 Wire64 Wire68 Wire69