brewpanel/slcd.h

Sat, 14 Nov 2015 16:52:33 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 14 Nov 2015 16:52:33 +0100
changeset 420
644a6106d712
parent 412
f1a042a59b61
child 427
e8e548922e31
permissions
-rw-r--r--

The first ideas of the brewpanel simulation are in place.

#ifndef _SLCD_H
#define	_SLCD_H
#ifdef	HAVE_SDL_SDL_H

#define	MAX_SLCDS	8

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

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


#endif
#endif

mercurial