Creating a new MPLAB 8 mTouch Framework Project

The easiest way to start a new project is to copy a fresh version of the source directory to your project folder. The source directory contains an MPLAB 8 project which can then be used to start your application.

If you already have an application project and wish to integrate the mTouch Framework with it:

  1. Copy the files in Your MLA Directory/Microchip/mTouchCap/mTouch Framework/ to your local project directory.

    • Including the Alternative Configurations/ directory!

  2. Add all .c files to your MPLAB 8 project.

  3. Use the following line of code to include the mTouch framework in your project:
     #include "mTouch.h"
    

Now check out the main.c file located in the framework's folder or one of the main.c files in the mTouchCapDemos folder for suggestions on using the mTouch Framework's API.