PIC24 Support Libraries
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
outcompare_contpulse.c File Reference
#include "pic24_all.h"

Go to the source code of this file.

Detailed Description

Generate an asymmetric square wave using output compare (OC1), continuous pulse mode. If you wish greater accuracy, then use a clock choice with an external crystal, such as: CLOCK_CONFIG=PRIPLL_8MHzCrystal_40MHzFCY Remove this macro if you wish to use the internal oscillator.

Definition in file outcompare_contpulse.c.