JBWOPR
Loading...
Searching...
No Matches
jbwopreffects.h File Reference

Header file for the JBWopr library. More...

#include <Arduino.h>
#include <JBLogger.h>
#include "jbwoprhelpers.h"
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  JBWoprEffectBase
 Abstract effect base class. More...
 
class  JBWoprTextDisplayEffect
 Display effect for showing text. More...
 
class  JBWoprScrollTextDisplayEffect
 Display effect for scrolling text. More...
 
class  JBWoprTimeDisplayEffect
 Display effect for showing the current time. More...
 
class  JBWoprTimeDisplayRainbowEffect
 Display effect for showing the current time. More...
 
class  JBWoprDateDisplayEffect
 Display effect for showing the current date. More...
 
class  JBWoprDateDisplayRainbowEffect
 Display effect for showing the current date, with rainbow colors. More...
 
class  JBWoprDateTimeDisplayEffect
 Display effect for showing the current date and time. More...
 
class  JBWoprDateTimeDisplayRainbowEffect
 Display effect for showing the current date and time, with rainbow colors. More...
 
class  JBWoprXmasSecondsDisplayEffect
 Display effect for showing seconds un til Xmas. More...
 
class  JBWoprMissileCodeSolveEffect
 Display effect for showing the WOPR movie code solve. More...
 
class  JBWoprDefconRainbowEffect
 Rainbow effect for the DEFCON LED's. More...
 
class  JBWoprSongEffect
 Base class for song effects. More...
 
struct  JBWoprSongEffect::Note
 Note struct. More...
 

Macros

#define JBWOPR_EFFECT_NAME_BASE   "Base"
 Name of JBWoprEffectBase.
 
#define JBWOPR_EFFECT_NAME_TEXT   "Text"
 Name of JBWoprDisplayTextEffect.
 
#define JBWOPR_EFFECT_NAME_SCROLLTEXT   "Scroll text"
 Name of JBWoprDisplayScrollTextEffect.
 
#define JBWOPR_EFFECT_NAME_TIME   "Time"
 Name of JBWoprDisplayTimeEffect.
 
#define JBWOPR_EFFECT_NAME_TIME_RAINBOW   "Time R"
 Name of JBWoprDisplayTimeRainbowEffect.
 
#define JBWOPR_EFFECT_NAME_DATE   "Date"
 Name of JBWoprDisplayDateEffect.
 
#define JBWOPR_EFFECT_NAME_DATE_RAINBOW   "Date Time R"
 Name of JBWoprDisplayDateTimeRainbowEffect.
 
#define JBWOPR_EFFECT_NAME_DATETIME   "Date Time"
 Name of JBWoprDisplayDateTimeEffect.
 
#define JBWOPR_EFFECT_NAME_DATETIME_RAINBOW   "Date Time R"
 Name of JBWoprDisplayDateTimeRainbowEffect.
 
#define JBWOPR_EFFECT_NAME_XMAS_SECONDS   "Xmas seconds"
 Name of JBWoprDisplayXmasSecondsEffect.
 
#define JBWOPR_EFFECT_NAME_CODE_SOLVE   "Code Solve"
 Name of JBWoprWOPRMovieSolveEffect.
 
#define JBWOPR_EFFECT_NAME_DEFCON_RAINBOW   "Rainbow"
 Name of JBWoprDefconRainbowEffect.
 
#define JBWOPR_EFFECT_NAME_SONG   "Song"
 Name of JBWoprSongEffect.
 

Enumerations

enum  CodeSolveVariant { MOVIE , RANDOM , MESSAGE }
 Code solve variant for the JBWoprMissileCodeSolveEffect class. More...
 

Detailed Description

Header file for the JBWopr library.

Author
Jonny Bergdahl

Contains declarations for standard effects for the JBWopr library.

Date
Created: 2023-10-27

Enumeration Type Documentation

◆ CodeSolveVariant

Code solve variant for the JBWoprMissileCodeSolveEffect class.

Enumerator
MOVIE 

Movie code solve.

RANDOM 

Random code solve.

MESSAGE 

Message code solve.