Touch Sensing code example
by atruntime.com

Simple way to implement touch sensing in your projects. Remember you must calibrate your touch keys. The number of samples can be changed according to your needs. Enjoy it!
About this Code Example
/*code example*/
#include "p24fj64gb004.h"
void main(void)
{
InitCTMU();
unsigned int key_value;
while(1)
{
key_value= ReadCTMU(0); //read touch channel 0
}
}
- Current Version: 1.0.0
- Updated: Jan 27, 2012
- Downloads: 1875
- Status: Released
-
- MPLAB Version: 8.83
- C Compiler: C30
- Development Tools: ICD3
- Supported Devices: PIC24,PIC18
Reviews
-
nice code (current version)
nice code to start to learn
by RICARDO PAPAQUI on April 25, 2012 Flag (Spam | Inappropriate)
Release History
- Touch Sensing code example (current version) January 26, 2012
- first release