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

Go to the source code of this file.

Detailed Description

Measures the square wave frequency using input capture and Timer2 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 incap_freqmeasure.c.