brewpanel/slcd.h

changeset 412
f1a042a59b61
child 427
e8e548922e31
equal deleted inserted replaced
411:ae85e91dcc58 412:f1a042a59b61
1 #ifndef _SLCD_H
2 #define _SLCD_H
3 #ifdef HAVE_SDL_SDL_H
4
5 #define MAX_SLCDS 8
6
7 void slcdHome (int fd) ;
8 void slcdClear (int fd) ;
9 void slcdDisplay (int fd, int state) ;
10 void slcdCursor (int fd, int state) ;
11 void slcdCursorBlink (int fd, int state) ;
12 void slcdSendCommand (int fd, unsigned char command) ;
13 void slcdPosition (int fd, int x, int y) ;
14 void slcdCharDef (int fd, int index, unsigned char data [8]) ;
15 void slcdPutchar (int fd, unsigned char data) ;
16 void slcdPuts (int fd, const char *string) ;
17 void slcdPrintf (int fd, const char *message, ...) ;
18
19 int slcdInit (int fd, int x, int y, int w, int h, int cols, int rows) ;
20
21
22 #endif
23 #endif

mercurial