Menu

Updated GLCD.H. Fixes KS0108 initialisation issues and adds support for TS7920 GLCD controllers.

Anobium
2014-04-20
2014-04-21
  • Anobium

    Anobium - 2014-04-20

    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

     
  • Chuck Hellebuyck

    Youtube video says it's private. Can you make it public?

     
  • Anobium

    Anobium - 2014-04-21

    All sorted. Sorry.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.