My Projects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
arduino:ks0073_driver_library [2022/08/22 21:28] – tonyarduino:ks0073_driver_library [2022/08/22 23:31] (current) – [KS0073 LCD Library] tony
Line 35: Line 35:
 \\ \\
 \\ \\
 +
 +The ks0073 controller chip has two sets of, very similar, instructions available.  They are selectable via the Extended Instruction control pin (IE).  In the VLGEM1021 modules this appears to be tied "low".  I assume that this pin is to allow the chip to emulate either of two previous LCD control chip implementations.
 +
 ===== Arduino to VLG1021 LCD wiring ===== ===== Arduino to VLG1021 LCD wiring =====
  
Line 54: Line 57:
  
  
-As mentioned earlier the library is based on a standard Arduino HD44780 LCD library.  Most hardware commands, including programmable characters,  seem to be compatible with the HD44780, but I would need to do a lot of experimentation to find any extended commands.+As mentioned earlier the library is based on a standard Arduino HD44780 LCD library.  Most hardware commands, including programmable characters,  seem to be compatible with the HD44780.  There are a number of chip features that are not supported by this driver, such as "Low power mode", "Dot scrolling" (shifting the display window by 1 dot increments), "Bidirectional segment addressing" (horizontal mirroring of display), "4-line mode" (for 4 line displays), "Inverting cursor" and "6-dot font width".  This is mainly because I couldn't test them with the VLGEM1021 LCM.
  
 The functions implemented are: The functions implemented are:
Line 73: Line 76:
   * noReverse()   * noReverse()
      * Turns on or off reverse video mode (white on black, rather than black on white characters)      * Turns on or off reverse video mode (white on black, rather than black on white characters)
-     * (only works when the ks0073 chip has Extended Instruction (IE) pin tied "low")+     * (only works when the ks0073 chip has Extended Instruction (IE) pin tied "high")
    * setCursor(col, row)    * setCursor(col, row)
      * Set location for next character to be displayed.      * Set location for next character to be displayed.
Line 111: Line 114:
  
 \\  \\ 
-The programs (v1.00):\\ +The programs (v1.01):\\ 
-  * {{:arduino:ks0073:v1.00:helloworld.ino}}, sketch to test the LCD library +  * {{:arduino:ks0073:v1.01:helloworld.ino}}, sketch to test the LCD library 
-  * {{:arduino:ks0073:v1.00:liquidcrystal_ks0073.h}},  KS0073 SPI LCD library +  * {{:arduino:ks0073:v1.01:liquidcrystal_ks0073.h}},  KS0073 SPI LCD library 
-  * {{:arduino:ks0073:v1.00:liquidcrystal_ks0073.cpp}},  KS0073 SPI LCD library+  * {{:arduino:ks0073:v1.01:liquidcrystal_ks0073.cpp}},  KS0073 SPI LCD library
  
 ====== References and Additional Resources ====== ====== References and Additional Resources ======