Jorge Troncoso
/
601_mDot_Gateway_Rev5_AUS_TrelleborgNet
Gateway by Jorge Troncoso
Diff: status_led.h
- Revision:
- 0:e671110e33a3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/status_led.h Wed Jun 13 11:45:52 2018 +0000 @@ -0,0 +1,22 @@ +#ifndef STATUS_LED_H +#define STATUS_LED_H + + +#include "mbed.h" +#include "board_config.h" + + +#define STATUS_LED_POWER_ON 0 +#define STATUS_LED_RADIO_ACTIVITY 1 +#define STATUS_LED_CONNECTED 2 +#define STATUS_LED_CHECK 4 +#define STATUS_LED_ERROR 5 + + +extern void status_led_set(uint8_t state_external, uint8_t state_internal); +extern void status_led_blink(uint8_t type); +extern void status_led_blink_start(double frequency); +extern void status_led_blink_stop(void); + + +#endif // STATUS_LED_H