SBB Micro
Source code for the self-balancing-bike microcontroller unit (Teensy 4.1-based). 🚀️
Loading...
Searching...
No Matches
LedMode Namespace Reference

Led mode constants. More...

Variables

constexpr int8_t DEF = 0
 Default mode without signal-logging.
 
constexpr int8_t LOG = 1
 Default mode with signal-logging.
 
constexpr int8_t MTP = 2
 MTP mode.
 
constexpr int8_t ERR = 3
 Error mode.
 
constexpr int8_t MTPWAIT = 4
 MTP wait for USB connected.
 

Detailed Description

Led mode constants.

The namespace contains constants for the status LED mode. Depending on the LED blinking, the microcontroller mode is:

Variable Documentation

◆ DEF

int8_t LedMode::DEF = 0
constexpr

Default mode without signal-logging.

◆ ERR

int8_t LedMode::ERR = 3
constexpr

Error mode.

◆ LOG

int8_t LedMode::LOG = 1
constexpr

Default mode with signal-logging.

◆ MTP

int8_t LedMode::MTP = 2
constexpr

MTP mode.

◆ MTPWAIT

int8_t LedMode::MTPWAIT = 4
constexpr

MTP wait for USB connected.