|
PIC24 Support Libraries
|
#include "pic24_all.h"Go to the source code of this file.
Macros | |
| #define | CONFIG_LED1() CONFIG_RB14_AS_DIG_OUTPUT() |
| LED1. | |
Functions | |
| void | CONFIG_SW1 () |
| Switch1 configuration. | |
| int | main (void) |
Demonstrates the use of semaphore variable that is set in an interrupt service routine and read by the main loop. In this case, the semaphore indicates that a button press & release IO event has been received. The main loop toggles an LED when the semaphore is set.
Definition in file button_semaphore.c.
| int main | ( | void | ) |
GPIO config
Definition at line 111 of file button_semaphore.c.
1.8.4