Open and Execute Touch Example Projects
Touch Library example projects for Microchip kits are available as a part of the touch repository in the apps folder. This page provides information on how to open and execute touch example projects.
For information on installing the necessary tools, please see Set up the environment for touch.
Steps to Open Touch Example Projects
- Open MPLAB® X IDE by clicking on File > Open Project from the menu.
- Browse the local folder which has the touch repository downloaded from the framework downloader.
- Select the .X project and then click Open Project.
Now, the project with its source files is opened in the IDE.
Steps to Execute Touch Example Projects
- Right-click on the project name and click on Clean and Build to build the project.
- When the build is completed, a "BUILD SUCCESSFUL" message is displayed in the Output window.
- Right-click on the project name and click on Make and Program Device or click on the icon indicated in the following image to program the device.
- Connect the SAM C21 Xplained Pro Evaluation Kit and choose the EDBG serial number of the kit from the Kits list.
- After programming, a "Programming complete" message is displayed in the Output window.
The kit is now programmed with the touch hex file. Touch the sensors and view the LED status. Touch Debug data can also be viewed via the Data Visualizer tool.