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

Go to the source code of this file.

Macros

#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 72 of file ledflash_timer.c.