Mon, 15 Apr 2024 17:04:57 +0200
Better websocket broadcast messages. Added GLOBAL JSON command to the server. Better logic to trigger websocket and mqtt data updates for the fermenter units. Websocket receive added fermenter mode, stage, setpoints, switches. Added more css styles for the fermenter screen. Added the fermenter screen php and javascript.
#ifndef _SLCD_H #define _SLCD_H #ifdef HAVE_SDL2_SDL_H #define MAX_SLCDS 8 void slcdHome (SGOBJ *dlg, int fd) ; void slcdClear (SGOBJ *dlg, int fd) ; void slcdDisplay (SGOBJ *dlg, int fd, int state) ; void slcdCursor (SGOBJ *dlg, int fd, int state) ; void slcdCursorBlink (SGOBJ *dlg, int fd, int state) ; void slcdSendCommand (SGOBJ *dlg, int fd, unsigned char command) ; void slcdPosition (SGOBJ *dlg, int fd, int x, int y) ; void slcdCharDef (SGOBJ *dlg, int fd, int index, unsigned char data [8]) ; void slcdPutchar (SGOBJ *dlg, int fd, unsigned char data) ; void slcdPuts (SGOBJ *dlg, int fd, const char *string) ; void slcdPrintf (SGOBJ *dlg, int fd, const char *message, ...) ; void slcdBacklight (SGOBJ *dlg, int fd, int bl); void slcdLED (SGOBJ *dlg, int fd, int color, int state); int slcdInit (SGOBJ *dlg, int fd, int x, int y, int w, int h, int cols, int rows) ; #endif #endif