This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Capacitive Sensing methods using Arduino | |
Visit https://bashtelorofscience.wordpress.com/ for a description and the circuit required to make this work. | |
Please see https://www.arduino.cc/en/Reference/PortManipulation for an explanation on the direct I/O access used in this sketch. | |
note: | |
the assembler command | |
__asm__("nop\n\t"); | |
is used in the sketch to do single clock (62ns) delays. |