several changes..
2 * GraphLCD driver library
4 * picctl.c - PIC controlled LCD driver class
6 * This file is released under the GNU General Public License. Refer
7 * to the COPYING file distributed with this package.
9 * Codebase by Andreas Regel <andreas.regel AT powarman.de>
10 * (c) 2007 Carsten Presser
13 #ifndef _GLCDDRIVERS_PICCTL_H_
14 #define _GLCDDRIVERS_PICCTL_H_
24 class cDriverPICCtl : public cDriver
28 unsigned char ** newLCD; // wanted state
29 unsigned char ** oldLCD; // current state
30 cDriverConfig * config;
31 cDriverConfig * oldConfig;
34 void CmdDispClearScreen(void);
35 void CmdSetMode(uint8_t mode);
36 void CmdDispSetManaged(void);
37 void CmdDispSetUnManaged(void);
38 void CmdDispSetBrightness(uint8_t percent);
39 void CmdDispSetColData(uint8_t yoffset, uint8_t xoffset, uint8_t length, uint8_t * data);
41 void DecodeCmd(uint8_t * cmd, uint8_t len);
46 uint8_t buf_cmd_start;
61 virtual void Set8Pixels(int x, int y, unsigned char data);
62 virtual void Refresh(bool refreshAll = false);
63 virtual void SetBrightness(unsigned int percent);
65 virtual bool HasKeys();
67 cDriverPICCtl(cDriverConfig * config); // Konstruktor
68 virtual ~cDriverPICCtl(); // Destruktor