GLUtil

After over 35 years of development and helping other designers and engineers, The Workbench site will be closing due to age and retirement of members. Sales of certain items in stock will continue until depleted. The basic site will remain open for some time for item documentation. If you have any special request please email.

Support Files

User supplied notes

E-mail for more information

Classified Section Items Available

If you have any projects that you would like displayed, please send E-mail

Udated Ver 1.2 -Now works with the KS0108, T6963C and  Sed1330

GLUtil along with GLSDEMO make it very easy to use a 128x64 KS0108 based graphic LCD display to draw circles, charts, rectangles etc., especially when used with the GLiPIC board.

Summary of Functions

Once connected to your PC serial port you can create graphic designs, on the lcd, using simple commands via a terminal or easier yet, with the free GLUtil Windows interface! The ‘command’ key is the ] (right bracket) character followed by parameters and subcommands. I have created 16 commands and a few more that I’m still working on.

Manual Commands

  • ]K CLEARs the display
  • ]C]xyr CIRCLE at x,y with a radius r
  • ]S]xyl SQUARE at x,y with l (2 x length of a side)
  • ]Q]xyl square rotated 45 degrees like a DIAMOND
  • ]T]xyp STAR with 4 points using dashed lines, p is the size
  • ]R]x1y1x2y2]s RECTANGLE top left and bottom rt  with step (new)
  • ]B]xylw]b a BAR at xy with (l)ength (w)idth and a (b)yte for fill
  • ]D]xy SET a dot (pixel) at x,y
  • ]E]xy RESET/sets a dot at x,y This is an xor function
  • ]P]xy places an ASCII character at x,y location
  • ]U]xy places a vertical BYTE at x,y
  • ]F]byte FILL the display with byte (useful for displaying grids)
  • ]X]x1x2y]t Draws an X-AXIS with tick marks (t is the tick spacing)
  • ]Y]y1y2x]t Draws a Y-AXIS with tick marks
  • ]H]xy]char]char...]@ Horizontal STRING of characters, @ stops it.
  • ]V]xy]char]char...]@ Vertical STRING of characters
  • ]L]x1y1x2y2 LINE from x1y1 to x2y2 This is experimental, I’m still working on different algorithms. Needs fixing.

Added in Ver 1.1

  • ]I]x1x2y1y2]s Straight horizontal line with a step (dashed line)
  • ]J]x1x2y1y2]s Straight vertical line with a step (dashed line)
  • ]M]x1x2y1y2]bytes Write (or paste) bytes to LCD display
  • ]N]x1x2y1y2 Read bytes from LCD display
  • ]O]addr]bytes Write bytes to external I2C eeprom
  • ]A]addr]number Read number of bytes from external I2C eeprom
  • ]G]addr]bytes Write bytes to internal eeprom
  • ]W]addr]number Read number of bytes from internal eeprom

Added in Ver 1.2

  • Added support for the T6963C controller
  • Added support for the SED1330 controller

GLUtil is a Windows interface for the GLSDEMO application, written in PBP Ver 2.32 for the GLiPIC board, which you can build or purchase. A 128x64 KS0108 based graphic LCD module is used with this software.  Download from here. GLUtil is free along with GLSDEMO.HEX, EEPMINI.HEX (the mini fonts which load in the internal eeprom) . The source code GLSDEMO.BAS with the graphic library GLSUBS2.BAS is available, noncommercial use, for a small fee.

The downloadable PBP demo applications for GLUtil 1.2 :

The following applications are designed to work with GLUtil 1.2, the hex file includes graphic routines (the source for which can be purchased on the ordering page). The bas files are  provided to show how the graphic utility subroutines are called.

All Rights Reserved, Copyright (c) COMPSys , 2018

Updated on:

February 16, 2018 

Windows is a registered trademark of Microsoft Corporation. PICMicro is a registered trademark of Microchip Inc.

AVR is a registered trademark of Atmel Corp., MAX is the trademark of Maxim Corporation