Open MPLAB® Xpress
Go to MPLAB Xpress and select the Get Started Now option.
Then log in with the registered email account.
Open the MCC configurator by clicking on the MCC icon.
After initialization, expand Touch Configurator from the Libraries menu under Device Resources. Click on the + icon to add the touch library.
The touch configurator will be loaded on the right side of the IDE. A user tour will be initialized to tell you about the available options inside the touch library.
Select the buttons and click Add to add them to the configuration.
After you added the buttons, click on the Configure tab to apply different modifications.
Click on the displayed pin to select and assign an alternate set of pins to the currently selected button/slider/wheel.
Click Sensor Parameters to modify the selected button/slider/wheel’s Gain, Delay, Clock, etc.
Click Common Parameters to modify the selected button/slider/wheel’s Drift Rate, Hold Time, etc.
Click Driven Shield to enable the Driven Shield Feature and add a dedicated shield pin.
Click Boost Mode to enable the Boost mode.
Click Frequency Hop to enable Frequency Hop and Frequency Hop Tuning
Click on the Tune tab to enable touch tuning using the UART interface.
- Select MPLAB DV to read and write touch tuning.
- Datastreamer to read touch tuning data.
Click on the Summary tab to check the device's summary.
Once you have finished configuring your project and are ready to export, you can export to MPLAB X to start writing your application code.