wayland/text-lcd-i2c@0.0.2

License: AGPL-3.0

Nodes to drive common text liquid crystal displays with I²C interfaces (based on https://xod.io/libs/xod-dev/text-lcd/). User can specify I²C bus. Compatible with I²C multiplexers (example patch provided).
NodeDescription
clear
Clears the LCD screen and positions the cursor in the upper-left corner.
init
Initialise the text-lcd-i2c-device.
print-at
Prints a text on the LCD screen in the allocated area, specified by `ROW` index, position at the row and length. The text trims to the allocated area length. If the text is shorter — the rest of the allocated area will be cleared (replaced with whitespaces).
set-backlight
Turns on or off the backlight of the I²C text LCD.
text-lcd-i2c-16x2
A quick-start node drives a text LCD screen with a PCF8574 or PCA8574 I²C expander module. Usually have a value in range 0x20-0x27 or 0x38-0x3F. Consult LCD/expander documentation to know the exact value.
text-lcd-i2c-20x4
A quick-start node drives a text LCD screen with a PCF8574 or PCA8574 I²C expander module. Usually have a value in range 0x20-0x27 or 0x38-0x3F. Consult LCD/expander documentation to know the exact value.
text-lcd-i2c-device
Text LCD I²C device.
example-16x2
Patch to test text-lcd-i2c-16x2 node. Run in debugger.
example-i2c-multiplex
Example to demonstrate use of tca9548a-i2c-mux to control two lcd devices with the same I²C address on a single I²C bus.
To use the nodes in your project you should have the wayland/text-lcd-i2c library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.