interruptTestPullUp by meljr

Cloned from Sketch interruptTestPullDown by meljr

This sketch is missing a short description
Example Arduino sketch to use interrupt 0 on pin D2 to change the state of internal LED attached to pin D13. This code is a precursor to using an interrupt to enable a limit switch that is attached to a wheeled Robot's "bumper" to detect collisions.

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:139711" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>