|
ASCEND Flight Software
|
#include <Arduino.h>#include "PayloadConfig.h"#include "pico/multicore.h"#include "pico/stdlib.h"Go to the source code of this file.
Classes | |
| class | ErrorDisplay |
| Singleton class for the 3 GPIO LED Error Display. More... | |
Enumerations | |
| enum | Error { CRITICAL_FAIL = 0 , SD_CARD_FAIL , LOW_SENSOR_COUNT , POWER_CYCLED , NONE } |
| enum Error |
Error codes: Smallest will be displayed as the binary value 7 - (enum value) ex. CRITICAL_FAIL (enum value of 0) will be all 3 leds blinking (7 - 0 = 7 or 0b111) Max 7 errors (1 led should always be blinking) NONE will always be 1
| Enumerator | |
|---|---|
| CRITICAL_FAIL | |
| SD_CARD_FAIL | |
| LOW_SENSOR_COUNT | |
| POWER_CYCLED | |
| NONE | |