This release has the fix for the KS0108 initialisation issues plus support for the TS2920 controller. This also adds host of updated and new commands to support this device.
The ST7920 GLCD is a Graphic and Character mixed display mode device, serial, 4 bit or 8 bit. This is an LCD (this can be driven by the standard LCD driver but the GLCD requires the new GLCD.H. This driver only supports 8 bit mode (this was tough enough!).
This GLCD has a huge character with full support for English and the Chinese (BIG5) characters sets.
Revised GLCD commands with backwards compatibility are
- GLCDCLS
- GLCDPrint - supports LCD and GLCD modes
- GLCDDrawChar - Optional Colour
- Box
- FilledBox
- Line
- PSet
- GLCDReady
- InitGLCD, includes fix for startup routine for KS0108 devices
Private functions but can be used as needed to create new methods.
- ST7920WriteCommand
- ST7920WriteData
- ST7920WriteByte
- ST7920gReaddata
- ST7920GLCDReadByte
- GLCDTimeDelay
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have posted a much revised version of GLCD.H. I will document and post to the HELP file this week and I will update the supported hardware list.
See here to download the latest file.
This release has the fix for the KS0108 initialisation issues plus support for the TS2920 controller. This also adds host of updated and new commands to support this device.
The ST7920 GLCD is a Graphic and Character mixed display mode device, serial, 4 bit or 8 bit. This is an LCD (this can be driven by the standard LCD driver but the GLCD requires the new GLCD.H. This driver only supports 8 bit mode (this was tough enough!).
This GLCD has a huge character with full support for English and the Chinese (BIG5) characters sets.
Support for ST7920 Graphical LCD 128 * 64 device includes.
- ST7920GLCDEnableGraphics
- ST7920GLCDDisableGraphics
- ST7920GLCDClearGraphics
- ST7920Locate
- ST7920gTile
- ST7920Tile
- ST7920cTile
- ST7920SetIcon
- ST7920GraphicTest
- ST7920LineHs
- ST7920gLocate
- ST7920lineh
- ST7920linev
- GLCDDrawString - support for string handling
Revised GLCD commands with backwards compatibility are
- GLCDCLS
- GLCDPrint - supports LCD and GLCD modes
- GLCDDrawChar - Optional Colour
- Box
- FilledBox
- Line
- PSet
- GLCDReady
- InitGLCD, includes fix for startup routine for KS0108 devices
Private functions but can be used as needed to create new methods.
- ST7920WriteCommand
- ST7920WriteData
- ST7920WriteByte
- ST7920gReaddata
- ST7920GLCDReadByte
- GLCDTimeDelay
You can see a demo video here: http://youtu.be/_isByTBZeEA
Download the code here: https://sourceforge.net/p/gcbasic/code/HEAD/tree/GCBASIC/trunk/include/glcd.h
Youtube video says it's private. Can you make it public?
All sorted. Sorry.