|
Prusa-MMU-Private
PrusaMultiMaterialUpgradev3firmwareforMK3SMK4
|
The leds namespace provides all necessary facilities related to the logical model of the sets of LEDs on the MMU unit. More...
Classes | |
| class | LED |
| A single LED. More... | |
| class | LEDs |
| The main LEDs API takes care of the whole set of LEDs. More... | |
Enumerations | |
| enum | Mode { off , on , blink0 , blink1 } |
| enum | Color { red = 0 , green = 1 } |
| Enum of LEDs color - green or red. | |
Variables | |
| LEDs | leds |
| The one and only instance of FINDA in the FW. | |
The leds namespace provides all necessary facilities related to the logical model of the sets of LEDs on the MMU unit.
We have 5 pairs of LEDs. In each pair there is a green and a red LED.
A typical scenario in the past was visualization of error states. The combination of colors with blinking frequency had a specific meaning.
The physical connection is not important on this level (i.e. how and what shall be sent into the shift registers).
LEDS are physically connected to a pair of shift registers along with some other signals. The physical write operations are handled by hal::shr16.
| enum modules::leds::Mode |