1 What is the Timer 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 Timer Example Component provides instructions and example code to configure and run the following use cases for the Timer Driver for dsPIC devices:
  • Toggling an LED according to a set timer period
  • Switching an LED toggle frequency between 100ms and 500ms
  • Outputting a 125hz signal to a pin