thermferm/slcd.h

Sun, 07 Apr 2024 20:26:37 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 07 Apr 2024 20:26:37 +0200
changeset 666
48cc8868f9f4
parent 485
08543a9ca288
permissions
-rw-r--r--

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

mercurial