arduino based wordclock
https://www.champonthis.de/projects/wordclock
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
475 B
50 lines
475 B
#ifndef States_h
|
|
#define States_h
|
|
|
|
/**
|
|
view states
|
|
*/
|
|
enum class ViewStates
|
|
{
|
|
TIME,
|
|
SECONDS,
|
|
TEMPERATURE,
|
|
DATE,
|
|
TEXT,
|
|
LED_DEMO,
|
|
REMOTE
|
|
};
|
|
|
|
/**
|
|
control states
|
|
*/
|
|
enum class ControlStates
|
|
{
|
|
VIEW,
|
|
TIME_HOURS,
|
|
TIME_MINUTES,
|
|
TIME_MODE,
|
|
TIME_SECONDS,
|
|
COLOR_R,
|
|
COLOR_G,
|
|
COLOR_B,
|
|
DATE_DATE,
|
|
DATE_MONTH,
|
|
DATE_YEAR,
|
|
TEXT
|
|
};
|
|
|
|
/**
|
|
remote control states
|
|
*/
|
|
enum class RemoteStates
|
|
{
|
|
VIEW,
|
|
TIME,
|
|
COLOR,
|
|
DATE,
|
|
TEXT,
|
|
DRAW
|
|
};
|
|
|
|
#endif
|