clearLCD

Clear characters from LCD on EV3 brick

Description

example

clearLCD(myev3) clears characters that the writeLCD function displays on the LCD located on the EV3 brick.

Examples

collapse all

You can display text near the center of the LCD or at a specific location.

Create a connection to the EV3 brick called myev3.

myev3 = legoev3;

Display text on the LCD.

writeLCD(myev3,'Collision Alert!')

The text appears near the center of the LCD.

Clear the text from the LCD.

clearLCD(myev3)

Display “X” in the lower-right corner of the LCD.

writeLCD(myev3,'X', 9, 19)

Input Arguments

collapse all

Connection to EV3 brick, specified as a string that represents the object created using legoev3.

Example: myev3

Data Types: char