thermferm/slcd.h

Fri, 05 Apr 2024 16:19:39 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 05 Apr 2024 16:19:39 +0200
changeset 660
a28ef4d9afa4
parent 485
08543a9ca288
permissions
-rw-r--r--

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


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