2011-05-11 21:18:46 +00:00
|
|
|
#ifndef __DISPLAY_H_
|
|
|
|
#define __DISPLAY_H_
|
|
|
|
|
|
|
|
#include <sysdefs.h>
|
|
|
|
|
|
|
|
/*
|
|
|
|
#badge <s> 96x68
|
|
|
|
#badge <s> das farbige hat 98x70
|
|
|
|
#badge <s> das laengliche 128x32
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define RESX 96
|
|
|
|
#define RESY 68
|
|
|
|
#define RESY_B 9
|
|
|
|
|
|
|
|
|
|
|
|
/* Display buffer */
|
2011-05-20 23:12:09 +00:00
|
|
|
extern uint8_t lcdBuffer[RESX*RESY_B];
|
2011-05-11 21:18:46 +00:00
|
|
|
|
2011-05-20 23:12:09 +00:00
|
|
|
void lcdWrite(uint8_t cd, uint8_t data);
|
|
|
|
void lcdRead(uint8_t data);
|
|
|
|
void lcdInit(void);
|
|
|
|
void lcdFill(char f);
|
|
|
|
void lcdDisplay(uint32_t shift);
|
2011-05-22 15:48:02 +00:00
|
|
|
void lcdInvert(void);
|
2011-05-11 21:18:46 +00:00
|
|
|
|
|
|
|
#endif
|