Build a PWM in under five minutes for less than $30
Goal: The following describes how to build a simple PWM for motor control applications on the Microchip Curiosity Development board using the MPLAB X Integrated Development Environment (IDE) and MPLAB Code Configurator (MCC). We begin with basic bring up of Curiosity’s onboard PIC16F1619 8-bit MCU running a “Hello, World!” program, and continue to set up a PWM using a Timer based on an FOSC/4 clock. All of this is done using the Microchip MCC without ever writing a single line of code.
Read the tutorial: https://embedded-computing.com/articles/look-ma-no-code-pwm-control-in-under-five-minutes-with-microchip-curiosity-development-board-and-mplab-code-configurator/