brewpanel/slcd.h

Thu, 10 Jan 2019 16:33:42 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 10 Jan 2019 16:33:42 +0100
changeset 569
9c69d43bfb06
parent 428
d64c4c1edd78
child 637
21e542c15832
permissions
-rw-r--r--

Version 0.9.0. Implemented DCMD via mqtt to set stage, mode, setpoint low and high. Implemeted DCMD via mqtt to set heater, cooler, fan and light state. Implemented DCMD via mqtt to set product code and name. Set the PID's in fridge mode without idle range offset, that was an old leftover setting that was obsolete.

#ifndef _SLCD_H
#define	_SLCD_H
#ifdef	HAVE_SDL_SDL_H

#define	MAX_SLCDS	8

void slcdHome        (SGOBJ *dlg, int fd) ;
void slcdClear       (SGOBJ *dlg, int fd) ;
void slcdDisplay     (SGOBJ *dlg, int fd, int state) ;
void slcdCursor      (SGOBJ *dlg, int fd, int state) ;
void slcdCursorBlink (SGOBJ *dlg, int fd, int state) ;
void slcdSendCommand (SGOBJ *dlg, int fd, unsigned char command) ;
void slcdPosition    (SGOBJ *dlg, int fd, int x, int y) ;
void slcdCharDef     (SGOBJ *dlg, int fd, int index, unsigned char data [8]) ;
void slcdPutchar     (SGOBJ *dlg, int fd, unsigned char data) ;
void slcdPuts        (SGOBJ *dlg, int fd, const char *string) ;
void slcdPrintf      (SGOBJ *dlg, int fd, const char *message, ...) ;
void slcdBacklight   (SGOBJ *dlg, int fd, int bl);
void slcdLED         (SGOBJ *dlg, int fd, int color, int state);

int  slcdInit        (SGOBJ *dlg, int fd, int x, int y, int w, int h, int cols, int rows) ;


#endif
#endif

mercurial