chap12/outcompare_squarewave.c File Reference
#include "pic24_all.h"
Go to the source code of this file.
Detailed Description
Generate a squarewave using output compare (OC1). This projects uses an external crystal for accuracy. CLOCK_CONFIG=PRIPLL_8MHzCrystal_40MHzFCY is defined in the MPLAB project. Remove this macro if you wish to use the internal oscillator.
Definition in file outcompare_squarewave.c.