LCD
Use these blocks with character LCDs based on the HD44780 controller. These displays are designed for characters and cursor-based text, not pixel graphics.
The LCD blocks work with a single global lcd object. In the normal editor flow you add one LCD from Add Display, then configure it with one of the setup blocks below.
Add I2C LCD
Add an I2C LCD and set its size in columns and rows.
This block also runs begin for you. You usually do not need a separate begin LCD block after add I2C LCD.
Add 4-pin LCD
Add a parallel LCD using RS, E, and four data pins.
Add 8-pin LCD
Add a parallel LCD using RS, E, and eight data pins.
Begin LCD
Initialise the LCD with its column and row count.
Use this after the 4-pin or 8-pin setup blocks. It is the step that tells the LCD how large the display is.
LCD print
Print text or numbers starting at the current cursor position.
LCD write char
Write a single character value to the LCD.
Set cursor
Move the cursor to a specific column and row before printing.
LCD clear display
Clear the whole display and return it to a blank state.
LCD return home
Move the cursor back to the home position without clearing the text.
LCD cursor
Turn the cursor on or off.
LCD blink
Turn cursor blinking on or off.
LCD display
Show or hide the LCD contents without deleting them.
LCD autoscroll
Turn automatic scrolling on or off while printing.
LCD scroll display
Scroll the whole display left or right.
LCD direction
Choose whether new text is written left-to-right or right-to-left.