Add LED ring boot chase and connect flash animations.
Give pods quick visual feedback on power-up and when a slave joins the master. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+9
-1
@@ -19,7 +19,9 @@ typedef enum {
|
||||
LED_CMD_PROGRESS,
|
||||
LED_CMD_BLINK,
|
||||
LED_CMD_FIND_ME,
|
||||
LED_CMD_BATTERY_LOW
|
||||
LED_CMD_BATTERY_LOW,
|
||||
LED_CMD_BOOT,
|
||||
LED_CMD_CONNECTED
|
||||
} led_mode_t;
|
||||
|
||||
typedef struct {
|
||||
@@ -53,4 +55,10 @@ void led_ring_find_me(void);
|
||||
/** First 4 LEDs red at ~10 % for 5 s, then off (blocking in LED task). */
|
||||
void led_ring_show_battery_low(void);
|
||||
|
||||
/** Chase: each ring LED lights once in sequence (~1 s total). */
|
||||
void led_ring_boot_anim(void);
|
||||
|
||||
/** Every second LED briefly blue (join / reconnect). */
|
||||
void led_ring_connected_anim(void);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user