Step 2: Configure SysTick Timer and LED
Last modified by Microchip on 2026/06/26 07:35
Configure SysTick timer to generate delay.
After launching MPLAB Code Configurator (MCC), navigate to MCC > Project Graph > System. Select System to open the Configuration Options. Then click Expand All, and check Enable SysTick. Next, set the SysTick period to 100 ms.
Pin Configuration for LED
Open the Pin Configuration tab by clicking Project Graph > Plugins > Pin Configuration.

Select the MCC Pin Settings tab and sort the entries by Ports, as shown in the accompanying image.

Configure PA15 as a General-Purpose Input/Output (GPIO) pin. Assign the appropriate pin name and specify the direction and latch settings required for LED operation.
