86 #define DEFAULT_LANG lang_de
87 #define REFRESH_RATE 10
88 #define DISPLAY_ROWS 2
89 #define DISPLAY_COLS 16
void displayRefresh(void)
Refreshed the display content and outputs it.
Definition: display.cpp:198
void * displayThread(void *threadid)
Main thread to handle display data.
Definition: display.cpp:103
void displayPushState(int state)
Updates the display state to the matching coffee state.
Definition: display.cpp:263
display_lang_t
Definition: display.h:12
display_strings_t
Definition: display.h:18
void displayInit(void)
Initializes display.
Definition: display.cpp:159
void displaySetLang(display_lang_t lang)
Sets the language of the display text.
Definition: display.cpp:190
void * displayTimerHandler(void *threadid)
Timer handler for display update.
Definition: display.cpp:125
const char * displayGetString(display_strings_t string)
Returns the matching translation of a string.
Definition: display.cpp:252
void displayTerminate(void)
Handles cleanup before program termination.
Definition: display.cpp:180
int state
Definition: coffee.cpp:27