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.
Slide1.PNG
  • Browse the local folder which has the touch repository downloaded from the framework downloader.
Slide2.PNG
  • Select the .X project and then click Open Project.
Slide3.PNG

Now, the project with its source files is opened in the IDE.

Slide4.PNG

Steps to Execute Touch Example Projects

  • Right-click on the project name and click on Clean and Build to build the project.
Slide5.PNG
  • When the build is completed, a "BUILD SUCCESSFUL" message is displayed in the Output window.
Slide6.PNG
  • 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.
Slide7.PNG
  • Connect the SAM C21 Xplained Pro Evaluation Kit and choose the EDBG serial number of the kit from the Kits list.
Slide8.PNG
  • After programming, a "Programming complete" message is displayed in the Output window.
Slide9.PNG

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.

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.