|
PIC24 Support Libraries
|
Go to the source code of this file.
Demonstrates pulse width modulation using four digital outputs and the OC1 module to create four PWM outputs for hobby servos. A table is used to control the pulse widths of the four servos. For more accuracy, use an external crystal and define the following CLOCK_CONFIG=PRIPLL_8MHzCrystal_40MHzFCY in the MPLAB project. Remove this macro if you wish to use the internal oscillator.
The PIC24E/dsPIC33E code is differs from other families.
Definition in file outputcompare_multiservo.c.
1.8.4