Touch Sensing code example


Touch Sensing code example

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)
    unsigned int key_value;
       key_value= ReadCTMU(0); //read touch channel 0   
  • Current Version: 1.0.0
  • Updated: Jan 27, 2012
  • Downloads: 3214
  • Rating: 0/5 (0 votes cast)
  • Status: Released
    • MPLAB Version: 8.83
    • C Compiler: C30
    • Development Tools: ICD3
    • Supported Devices: PIC24,PIC18


  • nice code  (current version)

    nice code to start to learn

    5/5 by RICARDO PAPAQUI on April 25, 2012 Flag (Spam | Inappropriate)

    Write your review

    Release History

    Touch Sensing code example  (current version) January 26, 2012
    first release