Blocks Area
LCD
π₯οΈ 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
| # | Block | What it does | Dropdown options | What the options mean |
|---|---|---|---|---|
| 1 | I2C setup i2c_extend SCL: 2 SDA: 10 frequency: 100000 | Sets up I2C communication | β | Needed before using the LCD β SCL/SDA are data pins |
| 2 | count with I2C i2c_extend lcd setup as LCD1602 Address: 0x27 | Initializes the LCD screen | β | LCD1602 is a 2-line, 16-character display β 0x27 is the common I2C address |
π Displaying Text
| # | Block | What it does | Dropdown options | What the options mean |
|---|---|---|---|---|
| 3 | LCD display string "Clu-Bots" cols: 0 rows: 0 middle alignment: yes | Shows text on the screen | β | You choose the position and alignment β great for titles or labels |
| 4 | LCD print display string "Clu-Bots" cols: 0 rows: 0 and interval(ms): 5 | Prints text with animation | β | Shows characters one by one β perfect for typing effects or suspense |
π‘ Backlight & Control
| # | Block | What it does | Dropdown options | What the options mean |
|---|---|---|---|---|
| 5 | LCD lcd Backlight turn on display | Turns the screen backlight on or off | on display, off display | Controls brightness β useful for saving power or signaling status |
| 6 | LCD clear display | Clears 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.