Using Touch Switch

PZEdoUmiQVy5lRS9Wjn%Ow

A boy’s excitement when the LED is turned on with the touch switch touched.

 

Allright.  My first attempt to use a touch switch worked.  I used “button” sketch in the collection of example sketches, uploaded it into Arduino, and … well … touched the switch.  Voila, it turned the LED.

At first, however, I had to figure out how to install the touch switch: what their three pins are for, and all.  So, the pins are basically for the positive, ground, and the output signal that tells the state of the swicth (on or off).


About this entry