Difference between revisions of "Unit I2CLCD"

From Ultibo.org
Jump to: navigation, search
Line 6: Line 6:
  
 
'''Generic I2C LCD Driver'''
 
'''Generic I2C LCD Driver'''
 +
 +
Generic 16x2 or 20x4 LCD displays with an I2C interface are available from many suppliers and commonly include a Hitachi HD44780 LCD and NXP PCF8574 I/O expander to convert the I2C data into GPIO inputs for the display.
 +
 +
This unit combines the drivers for the HD44780 and PCF8574 to create a console device which can be used with the standard console and console window API.
 +
 +
Only text mode is supported as the HD44780 does not support setting individual pixels.
 +
 +
Some examples of generic displays that will work with the unit include the following:
 +
 +
https://www.amazon.com/SunFounder-Serial-Module-Display-Arduino/dp/B019K5X53O
 +
 
 +
https://www.auselectronicsdirect.com.au/2-x-16-lcd-display-module-with-i2c-interface-for-a
 +
 +
But you can find these units from many suppliers worldwide.
  
 
=== Constants ===
 
=== Constants ===

Revision as of 03:18, 19 June 2021

Return to Unit Reference


Description


Generic I2C LCD Driver

Generic 16x2 or 20x4 LCD displays with an I2C interface are available from many suppliers and commonly include a Hitachi HD44780 LCD and NXP PCF8574 I/O expander to convert the I2C data into GPIO inputs for the display.

This unit combines the drivers for the HD44780 and PCF8574 to create a console device which can be used with the standard console and console window API.

Only text mode is supported as the HD44780 does not support setting individual pixels.

Some examples of generic displays that will work with the unit include the following:

https://www.amazon.com/SunFounder-Serial-Module-Display-Arduino/dp/B019K5X53O

https://www.auselectronicsdirect.com.au/2-x-16-lcd-display-module-with-i2c-interface-for-a

But you can find these units from many suppliers worldwide.

Constants


To be documented

Type definitions


To be documented

Public variables


To be documented

Function declarations


To be documented


Return to Unit Reference