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

Go to the source code of this file.

Functions

void CONFIG_SW1 ()
 Switch1 configuration.
 

Detailed Description

Measures the pulse width of a pushbutton switch using Timer2 without input capture. 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 manual_switch_pulse_measure.c.