chap9/ledflash_timer.c File Reference

#include "pic24_all.h"

Go to the source code of this file.

Defines

#define CONFIG_LED1()   CONFIG_RB14_AS_DIG_OUTPUT()
 LED1.

Functions

int main (void)


Detailed Description

Demonstrates use of a periodic interrupt to flash an LED. Timer3 is configured for a 300 ms interrupt to flash an LED on RB14.

Definition in file ledflash_timer.c.


Function Documentation

int main ( void   ) 

GPIO config

Config the Timer, use Timer3

Definition at line 66 of file ledflash_timer.c.


Generated on Sun Mar 15 11:14:22 2009 for PIC24 Support Libraries by  doxygen 1.5.8