Z-Stack API Reference
3.2.0
|
enum | board_led_type { board_led_type_LED1, board_led_type_LED2, board_led_type_LED3, board_led_type_LED4, NO_OF_LEDS } |
enum | board_led_state { board_led_state_OFF, board_led_state_ON, board_led_state_BLINK, board_led_state_BLINKING } |
void | Board_Led_initialize (void) |
Initialize LED System. | |
void | Board_Led_control (board_led_type led, board_led_state state) |
Control the state of an LED. More... | |
void | Board_Led_toggle (board_led_type led) |
Toggle the state of an LED from off to on, and from on or blinking to off. More... | |
This module is a collection of functions to control LEDs.
enum board_led_state |
LED States
enum board_led_type |
LED Identifications
void Board_Led_control | ( | board_led_type | led, |
board_led_state | state | ||
) |
Control the state of an LED.
led | - Which LED |
state | - control, set to board_led_state_BLINK for blink once, set to board_led_state_BLINKING to continual blinking, set to board_led_state_ON to turn LED on, set to board_led_state_OFF to turn the LED off. |
void Board_Led_toggle | ( | board_led_type | led | ) |
Toggle the state of an LED from off to on, and from on or blinking to off.
led | - Which LED |