πŸ–₯️ LCD – Your “Text Display”

What it is: Blocks for displaying text on character displays.

What it does: Displays messages on character displays.

Example: Displaying “Hello” on a 16×2 display.

πŸ‘‰ It’s the robot’s lighted sign.

Β 

🧩 Fun Guide to LCD Display Blocks (Clu-blocks Pro)

πŸ–₯️ Important! LCD blocks let your robot talk visually β€” showing messages, sensor data, or even animations. It’s like giving your robot a mini billboard!


πŸ”§ Setup & Configuration

#BlockWhat it doesDropdown optionsWhat the options mean
1I2C setup i2c_extend SCL: 2 SDA: 10 frequency: 100000Sets up I2C communicationβ€”Needed before using the LCD β€” SCL/SDA are data pins
2count with I2C i2c_extend lcd setup as LCD1602 Address: 0x27Initializes the LCD screenβ€”LCD1602 is a 2-line, 16-character display β€” 0x27 is the common I2C address

πŸ“ Displaying Text

#BlockWhat it doesDropdown optionsWhat the options mean
3LCD display string "Clu-Bots" cols: 0 rows: 0 middle alignment: yesShows text on the screenβ€”You choose the position and alignment β€” great for titles or labels
4LCD print display string "Clu-Bots" cols: 0 rows: 0 and interval(ms): 5Prints text with animationβ€”Shows characters one by one β€” perfect for typing effects or suspense

πŸ’‘ Backlight & Control

#BlockWhat it doesDropdown optionsWhat the options mean
5LCD lcd Backlight turn on displayTurns the screen backlight on or offon display, off displayControls brightness β€” useful for saving power or signaling status
6LCD clear displayClears everything from the screenβ€”Use this before updating the screen or switching messages

🧠 Quick Tips for Students

  • Use setup blocks first β€” your LCD won’t work without I2C setup and address.
  • Use rows and columns to position text β€” row 0 is top, row 1 is bottom.
  • Use middle alignment for titles β€” it looks clean and professional.
  • Use print with interval for cool effects β€” like typing or countdowns.
  • Use clear + backlight to refresh or hide the screen β€” great for transitions or alerts.
On this page