Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.14 KB

README.md

File metadata and controls

37 lines (29 loc) · 1.14 KB

JumperTouchSensorLibrary

JumperTouchSensor library V1.0 by JX Pan Shared under CC Attribution-ShareAlike 3.0 Unported license, see more details here : http://creativecommons.org/licenses/by-sa/3.0/legalcode

What it does:

It basically turns jumpers into cheap (and not as accurate) touch sensors, aka Native Capacitive Sensors, taking only 1 digital pin.

How it's used:

The only function returns integer between 1-17. If the bare end of the jumper attached to “pinToMeasure” is pressed by your finger, (ONLY TESTED WITH USB POWER SOURCE) the return value would be 2 or more

Sources:

Library itself is based on this page: http://playground.arduino.cc/Code/CapacitiveSensor/
The example is based on this page: http://tieba.baidu.com/p/2060482431

Additional infomation:

This code has no warranty of any kind. Read more description including safety information before you use it on:
http://playground.arduino.cc/Code/CapacitiveSensor/

Have fun.
Jinxin, 5/27/2014

Contact:

email:[email protected] Any comments or suggestions will be greatly appreciated