Sun, 07 Apr 2024 20:26:37 +0200
Added commandline switch --foreground, the --debug now only activates extra debug logging. No more console output. The thermferm process uses a state table, this makes the code more readable and have less large functions.
#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