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

Go to the source code of this file.

Functions

void CONFIG_SW1 ()
 Switch1 configuration.
 
int main (void)
 

Detailed Description

A simple test of the change notification feature. A momentary pushbutton is connected to RB13, with the change notication interrupt for that port is enabled. A message is printed each time the change notification interrupt occurs.

Definition in file change_test.c.

Function Documentation

int main ( void  )

Configure the switch

Configure Change Notification general interrupt

Definition at line 55 of file change_test.c.