Code demonstrating mapping the proximity of your hand to an electrode connected to E0 of the Bare Conductive Touch Board. The closer your hand gets to the electrode, the higher the intensity of the D13 LED on the Touch Board.
Recommended electrode design is 85mmx85mm to 100mmx100mm square of Electric Paint.
- You should make sure that you have followed our Setting up Arduino with your Touch Board tutorial before using this (or any other) of our code examples
-
Close the Arduino IDE if you have it open.
-
Download the .zip or clone the repository to your local machine - if downloading the .zip, extract the contents somewhere that suits you.
-
Take the Prox_LED folder and move it to Arduino Sketchbook Folder. This will be different for each operating system:
Windows
Libraries\Documents\Arduino
or
My Documents\Arduino
Mac
Documents/Arduino
Linux (Ubuntu)
Home/Arduino
If this folder does not exist, create it first.
-
Reopen the Arduino IDE - you should now be able to open the sketch in the File -> Sketchbook menu.
