Required Source Files

The mTouch Framework will automatically choose the correct header files for your chosen device.

These configuration files will have unique settings for each application:

These source files are required in the project:

Hardware Profile

Each framework-supported PIC microcontroller has an associated HardwareProfile header file to define the relationship between the AN channel and its port/pin assignment, how to initialize the communications module, and which communications methods are available. This file will also perform some error checking on the current configuration to determine if your microcontroller will be able to correctly implement the requested framework features.

Only the hardware profile that is associated with your microcontroller's family is required.

Hardware Profile Options:

Macro Library

The mTouch acquisition function is implemented using a combination of C and assembly. To support multiple cores with different assembly instruction sets, separate macro definitions are required. These macros perform the mTouch scanning routine and initial signal processing on the results. Due to noise concerns, we do not recommend editting these macros.

Only the macro library that is associated with your microcontroller's instruction set + mTouch_macroLibrary_common.h are required.

The correct macro library header file for your processor's core is automatically chosen from the list: