These step-by-step instructions were used to create a project in which timer1 is set up with a static driver and set to toggle LED3 at a 1/2 second period. The target hardware is the chipKITTM WF32 development board from Digilent Inc.
1 Create a new MPLAB® Harmony Project
2 Use MHC (MPLAB® Harmony Configurator) to configure the PIC32 core
3 Use MHC to configure the PIC32 Clocks
4 Use MHC to create a Static Timer Driver
5 Configure the I/O pin connected to the LED to be an output
6 Generate the Project Code
7 Complete the ISR Function
8 Add Code to Start Timer Driver Instance 0
9 Build, program and run your project
Click the "Run" icon to build, program and run your project. Click here for more details.