thermferm/slcd.h

Thu, 02 May 2024 15:49:16 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 02 May 2024 15:49:16 +0200
changeset 716
5c30c8ef83a8
parent 485
08543a9ca288
permissions
-rw-r--r--

Version 0.9.19b3. The simulator thread can be paused to be able to add and delete simulators. Added simulated door and PSU status. Devices can now fully use multiple simulators. Better rounding of simulated temperature values. The server SIMULATOR DEL and ADD commands pause the simulator when the linked list is manipulated. Fixed SIGSEGV when a simulator is added. Added socket SO_REUSEADDR again to the server socket.

#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

mercurial