2 * GraphLCD driver library
4 * gu140x32f.h - 8-bit driver module for Noritake GU140x32-F7806 VFD
5 * displays. The VFD is operating in its 8 bit-mode
6 * connected to a single PC parallel port.
10 * (c) 2001-2003 by Carsten Siebholz <c.siebholz AT t-online.de>
11 * lcdproc 0.4 driver hd44780-ext8bit
12 * (c) 1999, 1995 Benjamin Tse <blt AT Comports com>
14 * This file is released under the GNU General Public License. Refer
15 * to the COPYING file distributed with this package.
17 * (c) 2003 Andreas Brachold <vdr04 AT deltab.de>
20 #ifndef _GLCDDRIVERS_GU140X32F_H_
21 #define _GLCDDRIVERS_GU140X32F_H_
33 class cDriverGU140X32F : public cDriver
35 unsigned char m_WiringRS;
36 unsigned char m_WiringEN1;
40 cDriverConfig * config;
41 cDriverConfig * oldConfig;
44 int m_nRefreshCounter;
45 unsigned char *m_pDrawMem; // the draw "memory"
46 unsigned char *m_pVFDMem; // the double buffed display "memory"
47 long m_nTimingAdjustCmd;
54 void SetPixel(int x, int y);
55 void Write(unsigned char nFlags, unsigned char bData, unsigned int nMicroSecBusyTime);
58 cDriverGU140X32F(cDriverConfig * config);
59 virtual ~cDriverGU140X32F();
65 virtual void Set8Pixels(int x, int y, unsigned char data);
66 virtual void Refresh(bool refreshAll = false);
68 virtual void SetBrightness(unsigned int percent);