2 * GraphLCD driver library
4 * ks0108.h - KS0108 driver class
6 * This file is released under the GNU General Public License. Refer
7 * to the COPYING file distributed with this package.
9 * (c) 2003 Andreas 'randy' Weinberger <vdr AT smue.org>
12 #ifndef _GLCDDRIVERS_KS0108_H_
13 #define _GLCDDRIVERS_KS0108_H_
24 class cDriverKS0108 : public cDriver
28 unsigned char ** LCD; // linear lcd display "memory"
29 unsigned char ** LCD_page; // paged lcd display "memory"
31 long timeForPortCmdInNs;
33 cDriverConfig * config;
34 cDriverConfig * oldConfig;
39 void KS0108Cmd(unsigned char data, int cs);
40 void KS0108Data(unsigned char data, int cs);
62 unsigned char control;
65 cDriverKS0108(cDriverConfig * config);
66 virtual ~cDriverKS0108();
72 virtual void Set8Pixels(int x, int y, unsigned char data);
73 virtual void Refresh(bool refreshAll = false);