thermferm/slcd.h

Mon, 25 Mar 2024 17:14:56 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 25 Mar 2024 17:14:56 +0100
changeset 650
0b215e4b814e
parent 485
08543a9ca288
permissions
-rw-r--r--

Brought the retry attempts to read the DHT11 sensors to the main devices loop. The actual read function is now very simple. Called every 30 seconds when all is well, or 2 seconds if something is wrong.

#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