Fri, 05 Apr 2024 16:19:39 +0200
Version 0.9.17a1. Revised starting and stopping the threads. Fixed stopping the command server thread. Moved one-wire tempeature sensors resolution correction to the one-wire thread. The devices thread fetches temperatures from the one-wire thread. The one-wire thread does everything for the temperature sensors. The command server uses private sockets. Still, only one session at the same time is handled.
#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