Tutorial by Examples

This is an basic example on how to wire up and make an LED turn on/off when the pushbutton is pressed. /* Basic Digital Read * ------------------ * * turns on and off a light emitting diode(LED) connected to digital * pin 13, when pressing a pushbutton attached to pin 7. It illustrates...

Page 1 of 1