Wed, 17 Apr 2024 19:54:56 +0200
Updated dependencies. Devices json data is created in de devices source for all places where it is needed. Added devices_ws function to broadcast all devices, to be used when any device is changed. The devices loop detects changes in input values and calls devices_ws if so. The server uses the general devices json data.
#ifndef _SLCD_H #define _SLCD_H void slcdDummy(int fd); void slcdLEDs(int fd); void slcdClear(int fd); void slcdPosition(int fd, int x, int y); void slcdCharDef(int fd, int idx, unsigned char data[8]); void slcdPutchar(int fd, unsigned char c); void slcdPuts(int fd, const char *string); int slcdInit(int fd, int cols, int rows); #endif