ASCEND Flight Software
All Classes Files Functions Variables Enumerations Enumerator Macros Pages
Classes | Enumerations
ErrorDisplay.h File Reference
#include <Arduino.h>
#include "PayloadConfig.h"
#include "pico/multicore.h"
#include "pico/stdlib.h"
Include dependency graph for ErrorDisplay.h:
This graph shows which files directly or indirectly include this file:

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
}
 

Enumeration Type Documentation

◆ Error

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