|
RSeries astromech firmware
|
|
Go to the documentation of this file.
9 #if defined(REELTWO_TEENSY)
10 #define FRONT_PSI_PIN 21
11 #elif defined(REELTWO_ZERO)
12 #define FRONT_PSI_PIN 5
13 #elif defined(REELTWO_AVR_MEGA)
14 #define FRONT_PSI_PIN 5
15 #elif defined(REELTWO_AVR)
16 #define FRONT_PSI_PIN 6
18 #define FRONT_PSI_PIN 32
20 #error Unsupported platform
25 #if defined(REELTWO_TEENSY)
26 #define REAR_PSI_PIN 22
27 #elif defined(REELTWO_ZERO)
28 #define REAR_PSI_PIN 3
29 #elif defined(REELTWO_AVR_MEGA)
30 #define REAR_PSI_PIN 6
31 #elif defined(REELTWO_AVR)
32 #define REAR_PSI_PIN 6
34 #define REAR_PSI_PIN 23
36 #error Unsupported platform
41 template <u
int8_t DATA_PIN>
42 class NeoPSIPCB :
public FastLEDPCB<WS2812B, DATA_PIN, 35, 0, 35, 5, 7>
45 static inline const byte* getLEDMap()
48 static const byte sLEDmap[] PROGMEM =
62 template <u
int8_t DATA_PIN>
69 static const byte sLEDmap[] PROGMEM =
81 template <u
int8_t DATA_PIN>
88 static const byte sLEDmap[] PROGMEM =
92 17,16,15,14,13,12,11,10,
93 25,24,23,22,21,20,19,18,
94 33,32,31,30,29,28,27,26,
95 41,40,39,38,37,36,35,34,
96 99,47,46,45,44,43,42,99,
97 99,99,51,50,49,48,99,99
114 template <u
int8_t DATA_PIN = FRONT_PSI_PIN>
115 using NeoFrontPSI = LogicEngineDisplay<NeoPSIPCB<DATA_PIN>, LogicRenderGlyph5Pt>;
128 template <u
int8_t DATA_PIN = REAR_PSI_PIN>
129 using NeoRearPSI = LogicEngineDisplay<NeoPSIPCB<DATA_PIN>, LogicRenderGlyph5Pt>;
143 template <u
int8_t DATA_PIN = FRONT_PSI_PIN>
157 template <u
int8_t DATA_PIN = REAR_PSI_PIN>
171 template <u
int8_t DATA_PIN = FRONT_PSI_PIN>
185 template <u
int8_t DATA_PIN = REAR_PSI_PIN>
LogicEngineDisplay< NeoPSIPCB< DATA_PIN >, LogicRenderGlyph5Pt > NeoRearPSI
Definition: NeoPSI.h:129
Current settings for LogicEngine hardware.
Definition: LogicEngine.h:176
Neopixel based Front PSI PCB.
static constexpr byte REAR_HUE
Definition: LogicEngine.h:96
static long sequence(byte seq, ColorVal colorVal=kDefault, uint8_t speedScale=0, uint8_t numSeconds=0)
Calculate sequence value given four parameters.
Definition: LogicEngine.h:160
static constexpr byte REAR_PSI_PAL
Definition: LogicEngine.h:102
static const byte * getLEDMap()
Definition: NeoPSI.h:85
@ kYellow
Definition: LogicEngine.h:147
LogicEngineDisplay< AstroPixelPSI8PCB< DATA_PIN >, LogicRenderGlyph5Pt, LogicEngineDefaults::PSICOLORWIPE > AstroPixelRearPSI8
Definition: NeoPSI.h:186
static constexpr byte FRONT_FADE
Definition: LogicEngine.h:90
Neopixel based Rear PSI PCB.
static constexpr byte FRONT_HUE
Definition: LogicEngine.h:92
@ kRed
Definition: LogicEngine.h:145
static const byte * getLEDMap()
Definition: NeoPSI.h:66
static constexpr byte REAR_BRI
Definition: LogicEngine.h:105
Neopixel based Front PSI PCB for denser displays.
static constexpr byte REAR_DELAY
Definition: LogicEngine.h:95
static constexpr byte REAR_FADE
Definition: LogicEngine.h:94
static constexpr byte PSICOLORWIPE
Definition: LogicEngine.h:137
static constexpr byte FRONT_PSI_PAL
Definition: LogicEngine.h:101
static constexpr byte FRONT_DELAY
Definition: LogicEngine.h:91
Neopixel based Front PSI PCB.
static constexpr byte FRONT_BRI
Definition: LogicEngine.h:104