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

Go to the source code of this file.

Functions

void CONFIG_SW1 ()
 Switch1 configuration, RB7 shares INT0 pin on PIC24HGP202.
 
int main (void)
 

Detailed Description

Demonstrates the use of int0 interrupt to detect switch bounce.

Definition in file int0_bounce.c.

Function Documentation

int main ( void  )

Configure the switch

Configure INT0 interrupt

Definition at line 56 of file int0_bounce.c.