cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

DaNa_4623721
New Contributor

Uso psoc desingner 5.4, como puedo hacer para clear ldc?

0 Likes
1 Solution
SampathS_11
Moderator
Moderator

Unfortunately there is no function available, which can clear the LCD. It has to be done by writing spaces to all character positions in the LCD.

You can kindly use this code snippet to clear a 2x16 LCD.

char str_empty[16] = "                ";

LCD_Position(0, 0);

LCD_PrString(str_empty);

LCD_Position(1,0);

LCD_PrString(str_empty);

View solution in original post

1 Reply
SampathS_11
Moderator
Moderator

Unfortunately there is no function available, which can clear the LCD. It has to be done by writing spaces to all character positions in the LCD.

You can kindly use this code snippet to clear a 2x16 LCD.

char str_empty[16] = "                ";

LCD_Position(0, 0);

LCD_PrString(str_empty);

LCD_Position(1,0);

LCD_PrString(str_empty);

View solution in original post