RSeries astromech firmware
LogicEngineDefaults Class Reference

#include <dome/LogicEngine.h>

Detailed Description

Default settings for LogicEngine hardware.

+ Inheritance diagram for LogicEngineDefaults:

Public Types

enum  ColorVal {
  kRed = 1, kOrange = 2, kYellow = 3, kGreen = 4,
  kCyan = 5, kBlue = 6, kPurple = 7, kMagenta = 8,
  kPink = 9, kDefault = 0
}
 

Static Public Member Functions

static long sequence (byte seq, ColorVal colorVal=kDefault, uint8_t speedScale=0, uint8_t numSeconds=0)
 Calculate sequence value given four parameters. More...
 

Static Public Attributes

static constexpr byte FRONT_FADE = 1
 
static constexpr byte FRONT_DELAY = 10
 
static constexpr byte FRONT_HUE = 0
 
static constexpr byte REAR_FADE = 3
 
static constexpr byte REAR_DELAY = 40
 
static constexpr byte REAR_HUE = 0
 
static constexpr byte FRONT_PAL = 0
 
static constexpr byte REAR_PAL = 1
 
static constexpr byte FRONT_PSI_PAL = 4
 
static constexpr byte REAR_PSI_PAL = 5
 
static constexpr byte FRONT_BRI = 160
 
static constexpr byte REAR_BRI = 140
 
static constexpr byte MAX_BRIGHTNESS = 225
 
static constexpr byte MIN_BRIGHTNESS = 1
 
static constexpr uint32_t NORMVAL = 0
 
static constexpr byte PAL_COUNT = 6
 
static constexpr byte NORMAL = 0
 
static constexpr byte ALARM = 1
 
static constexpr byte FAILURE = 2
 
static constexpr byte LEIA = 3
 
static constexpr byte MARCH = 4
 
static constexpr byte SOLIDCOLOR = 5
 
static constexpr byte FLASHCOLOR = 6
 
static constexpr byte FLIPFLOPCOLOR = 7
 
static constexpr byte FLIPFLOPALTCOLOR = 8
 
static constexpr byte COLORSWAP = 9
 
static constexpr byte RAINBOW = 10
 
static constexpr byte REDALERT = 11
 
static constexpr byte MICBRIGHT = 12
 
static constexpr byte MICRAINBOW = 13
 
static constexpr byte LIGHTSOUT = 14
 
static constexpr byte TEXT = 15
 
static constexpr byte TEXTSCROLLLEFT = 16
 
static constexpr byte TEXTSCROLLRIGHT = 17
 
static constexpr byte TEXTSCROLLUP = 18
 
static constexpr byte ROAMINGPIXEL = 19
 
static constexpr byte HORIZONTALSCANLINE = 20
 
static constexpr byte VERTICALSCANLINE = 21
 
static constexpr byte FIRE = 22
 
static constexpr byte PSICOLORWIPE = 23
 
static constexpr byte PULSE = 24
 
static constexpr byte RANDOM = 99
 

Member Enumeration Documentation

◆ ColorVal

Enumerator
kRed 
kOrange 
kYellow 
kGreen 
kCyan 
kBlue 
kPurple 
kMagenta 
kPink 
kDefault 

Member Function Documentation

◆ sequence()

static long LogicEngineDefaults::sequence ( byte  seq,
ColorVal  colorVal = kDefault,
uint8_t  speedScale = 0,
uint8_t  numSeconds = 0 
)
inlinestatic

Calculate sequence value given four parameters.

Member Data Documentation

◆ ALARM

constexpr byte LogicEngineDefaults::ALARM = 1
staticconstexpr

◆ COLORSWAP

constexpr byte LogicEngineDefaults::COLORSWAP = 9
staticconstexpr

◆ FAILURE

constexpr byte LogicEngineDefaults::FAILURE = 2
staticconstexpr

◆ FIRE

constexpr byte LogicEngineDefaults::FIRE = 22
staticconstexpr

◆ FLASHCOLOR

constexpr byte LogicEngineDefaults::FLASHCOLOR = 6
staticconstexpr

◆ FLIPFLOPALTCOLOR

constexpr byte LogicEngineDefaults::FLIPFLOPALTCOLOR = 8
staticconstexpr

◆ FLIPFLOPCOLOR

constexpr byte LogicEngineDefaults::FLIPFLOPCOLOR = 7
staticconstexpr

◆ FRONT_BRI

constexpr byte LogicEngineDefaults::FRONT_BRI = 160
staticconstexpr

◆ FRONT_DELAY

constexpr byte LogicEngineDefaults::FRONT_DELAY = 10
staticconstexpr

◆ FRONT_FADE

constexpr byte LogicEngineDefaults::FRONT_FADE = 1
staticconstexpr

◆ FRONT_HUE

constexpr byte LogicEngineDefaults::FRONT_HUE = 0
staticconstexpr

◆ FRONT_PAL

constexpr byte LogicEngineDefaults::FRONT_PAL = 0
staticconstexpr

◆ FRONT_PSI_PAL

constexpr byte LogicEngineDefaults::FRONT_PSI_PAL = 4
staticconstexpr

◆ HORIZONTALSCANLINE

constexpr byte LogicEngineDefaults::HORIZONTALSCANLINE = 20
staticconstexpr

◆ LEIA

constexpr byte LogicEngineDefaults::LEIA = 3
staticconstexpr

◆ LIGHTSOUT

constexpr byte LogicEngineDefaults::LIGHTSOUT = 14
staticconstexpr

◆ MARCH

constexpr byte LogicEngineDefaults::MARCH = 4
staticconstexpr

◆ MAX_BRIGHTNESS

constexpr byte LogicEngineDefaults::MAX_BRIGHTNESS = 225
staticconstexpr

◆ MICBRIGHT

constexpr byte LogicEngineDefaults::MICBRIGHT = 12
staticconstexpr

◆ MICRAINBOW

constexpr byte LogicEngineDefaults::MICRAINBOW = 13
staticconstexpr

◆ MIN_BRIGHTNESS

constexpr byte LogicEngineDefaults::MIN_BRIGHTNESS = 1
staticconstexpr

◆ NORMAL

constexpr byte LogicEngineDefaults::NORMAL = 0
staticconstexpr

◆ NORMVAL

constexpr uint32_t LogicEngineDefaults::NORMVAL = 0
staticconstexpr

◆ PAL_COUNT

constexpr byte LogicEngineDefaults::PAL_COUNT = 6
staticconstexpr

◆ PSICOLORWIPE

constexpr byte LogicEngineDefaults::PSICOLORWIPE = 23
staticconstexpr

◆ PULSE

constexpr byte LogicEngineDefaults::PULSE = 24
staticconstexpr

◆ RAINBOW

constexpr byte LogicEngineDefaults::RAINBOW = 10
staticconstexpr

◆ RANDOM

constexpr byte LogicEngineDefaults::RANDOM = 99
staticconstexpr

◆ REAR_BRI

constexpr byte LogicEngineDefaults::REAR_BRI = 140
staticconstexpr

◆ REAR_DELAY

constexpr byte LogicEngineDefaults::REAR_DELAY = 40
staticconstexpr

◆ REAR_FADE

constexpr byte LogicEngineDefaults::REAR_FADE = 3
staticconstexpr

◆ REAR_HUE

constexpr byte LogicEngineDefaults::REAR_HUE = 0
staticconstexpr

◆ REAR_PAL

constexpr byte LogicEngineDefaults::REAR_PAL = 1
staticconstexpr

◆ REAR_PSI_PAL

constexpr byte LogicEngineDefaults::REAR_PSI_PAL = 5
staticconstexpr

◆ REDALERT

constexpr byte LogicEngineDefaults::REDALERT = 11
staticconstexpr

◆ ROAMINGPIXEL

constexpr byte LogicEngineDefaults::ROAMINGPIXEL = 19
staticconstexpr

◆ SOLIDCOLOR

constexpr byte LogicEngineDefaults::SOLIDCOLOR = 5
staticconstexpr

◆ TEXT

constexpr byte LogicEngineDefaults::TEXT = 15
staticconstexpr

◆ TEXTSCROLLLEFT

constexpr byte LogicEngineDefaults::TEXTSCROLLLEFT = 16
staticconstexpr

◆ TEXTSCROLLRIGHT

constexpr byte LogicEngineDefaults::TEXTSCROLLRIGHT = 17
staticconstexpr

◆ TEXTSCROLLUP

constexpr byte LogicEngineDefaults::TEXTSCROLLUP = 18
staticconstexpr

◆ VERTICALSCANLINE

constexpr byte LogicEngineDefaults::VERTICALSCANLINE = 21
staticconstexpr

The documentation for this class was generated from the following file: