1 What is the PWM Example Component for dsPIC Devices?
The Libraries, Drivers, and Hardware peripherals that make up MCC Melody are collectively referred to as components. The Example Components are a new type of MCC Melody component that provide users configuration instructions to follow in setting up Melody components to implement common use case applications. The Example Components also generate the application code for the user to paste into main.c and run the use case.
The PWM Example Component provides instructions and example code to configure and run the
following use cases for the PWM Driver for dsPIC devices:
- PWM Duty Cycle Update with Timer Callback
- PWM Duty Cycle Update with Button Press
- PWM Duty Cycle Update with Analog Input Source