4typedef enum _led_usage_type {
11#define LED_FATALERROR 2
12#define LED_FLASHSTART 3
14#define LED_WIFI_BRIDGE 5
15#define LED_WIFI_BRIDGE2 6
16#define LED_WIFI_STATION 7
17#define LED_WIFI_APMODE 8
18#define LED_WIFI_CONNECTED 9
19#define LED_POWERSAVE 10
21#define LED_INDICATOR int
23#define LED_FLAG_FADE_TO 1
27void led_off(LED_USAGE_TYPE lut);
28void led_blink(LED_USAGE_TYPE lut, uint32_t colour, uint8_t brightness, uint32_t on, uint32_t off);
29void led_blink_flags(LED_USAGE_TYPE lut, uint32_t colour, uint8_t brightness, uint32_t on, uint32_t off, uint32_t flags);
30void led_flash(LED_USAGE_TYPE lut, uint32_t colour, uint32_t duration);
31void fade_led_repeat(LED_USAGE_TYPE lut, uint32_t (*fadearray)[]);
32void led_indicate(LED_INDICATOR);
33void led_set_wifi_managed();
34void led_set_user_managed();
35void led_print_status();
36void led_set_machine_managed();
void led_flash(LED_USAGE_TYPE lut, uint32_t colour, uint32_t duration)
will flash led once
void led_blink(LED_USAGE_TYPE lut, uint32_t colour, uint8_t brightness, uint32_t on, uint32_t off)
will keep blinking until told otherwise will repeat endlessly.