chap8/ledtoggle.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 |
void | CONFIG_SW1 () |
| Switch1 configuration.
|
int | main (void) |
Detailed Description
A program that uses a finite state machine approach for toggling an LED whenever a pushbutton switch is pressed and released. Demonstrates the use of debounce delays when polling a switch input.
Definition in file ledtoggle.c.
Function Documentation