REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
leds Namespace Reference

Functions

void set (uint8_t val)
 Shorthand to set LEDs on LUCIDAC front panel.
 
void indicate_error ()
 Flashing all LEDs Duration: 1.6sec blocking.
 
void ease_out ()
 Animation where all LEDs go off one by one Duration: 800ms blocking.
 

Function Documentation

◆ ease_out()

FLASHMEM void leds::ease_out ( )

Animation where all LEDs go off one by one Duration: 800ms blocking.

Definition at line 27 of file front_panel_signaling.cpp.

References set().

Referenced by setup().

◆ indicate_error()

FLASHMEM void leds::indicate_error ( )

Flashing all LEDs Duration: 1.6sec blocking.

Definition at line 16 of file front_panel_signaling.cpp.

References set().

Referenced by msg::handlers::GetSystemIdent::handle(), and setup().

◆ set()

FLASHMEM void leds::set ( uint8_t val)

Shorthand to set LEDs on LUCIDAC front panel.

Definition at line 6 of file front_panel_signaling.cpp.

References carrier_, and utils::HeapSingleton< LUCIDAC >::get().

Referenced by ease_out(), indicate_error(), and setup().