led.h File Reference
File containing the LED functions. More...
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
void | initLED (void) |
Init LED (P1.0 -> P1.4) More... | |
void | toggleLED (int n, unsigned int state, unsigned int duration) |
Toogle the state of the choosen LED for a choosen time. More... | |
Detailed Description
File containing the LED functions.
Function Documentation
void initLED | ( | void | ) |
Init LED (P1.0 -> P1.4)
All ready to use and state cleared
Here is the caller graph for this function:

void toggleLED | ( | int | n, |
unsigned int | state, | ||
unsigned int | duration | ||
) |
Toogle the state of the choosen LED for a choosen time.
duration = 0 -> stay in the state choosen
- Parameters
-
n The LED to toogle state The new state duration The time to toogle the state of the LED
Here is the call graph for this function:
