4.2 Get Code Examples from MPLAB® Discover

MPLAB Discover bundles the available resources from multiple sources into one portal.

The MPLAB Discover webpage: MPLAB Discover

Code Examples

Finding code examples for devices in the PIC18-Q24 Family can be done by searching for the device name, e.g., PIC18F56Q24, in the search bar.

You can download code examples as a .zip file directly from MPLAB Discover. Repositories ending with “mplab-mcc” can be opened in MPLAB X.

When the code example is hosted on GitHub, MPLAB Discover provides a link “Open with Github”. Download the example code from there or use the git tool on your PC to create a local repository clone.