lcd.h
Go to the documentation of this file.
/*
* lcd.h
*
* Created on: Aug 3, 2016
* Author: sebastian
*/
#ifndef LCD_H_
#define LCD_H_
#define MAX_LCDS 8
#ifdef __cplusplus
extern "C" {
#endif
extern void lcdHome (const int fd) ;
extern void lcdClear (const int fd) ;
extern void lcdDisplay (const int fd, int state) ;
extern void lcdCursor (const int fd, int state) ;
extern void lcdCursorBlink (const int fd, int state) ;
extern void lcdSendCommand (const int fd, unsigned char command) ;
extern void lcdPosition (const int fd, int x, int y) ;
extern void lcdCharDef (const int fd, int index, unsigned char data [8]) ;
extern void lcdPutchar (const int fd, unsigned char data) ;
extern void lcdPuts (const int fd, const char *string) ;
extern void lcdPrintf (const int fd, const char *message, ...) ;
extern int lcdInitI (const int rows, const int cols, const int bits,
const int rs, const int strb) ;
extern int lcdInit (void) ;
#ifdef __cplusplus
}
#endif
// Pinbelegung für das LCD, an verwendete Pins anpassen
#define LCD_RW 24
#define LCD_RS 27
#define LCD_EN 23
#endif /* LCD_H_ */
lcdPrintf
void lcdPrintf(const int fd, const char *message,...)
Definition: lcd.cpp:307
lcdPosition
void lcdPosition(const int fd, int x, int y)
Definition: lcd.cpp:233
lcdCharDef
void lcdCharDef(const int fd, int index, unsigned char data[8])
Definition: lcd.cpp:255
lcdCursorBlink
void lcdCursorBlink(const int fd, int state)
Definition: lcd.cpp:204
lcdClear
void lcdClear(const int fd)
Definition: lcd.cpp:167
lcdHome
void lcdHome(const int fd)
Definition: lcd.cpp:159
lcdPuts
void lcdPuts(const int fd, const char *string)
Definition: lcd.cpp:296
lcdInit
int lcdInit(void)
Definition: lcd.cpp:324
lcdCursor
void lcdCursor(const int fd, int state)
Definition: lcd.cpp:193
lcdDisplay
void lcdDisplay(const int fd, int state)
Definition: lcd.cpp:182
lcdSendCommand
void lcdSendCommand(const int fd, unsigned char command)
Definition: lcd.cpp:221
lcdInitI
int lcdInitI(const int rows, const int cols, const int bits, const int rs, const int strb)
Definition: lcd.cpp:339
lcdPutchar
void lcdPutchar(const int fd, unsigned char data)
Definition: lcd.cpp:273
state
int state
Definition: coffee.cpp:27