You are here

Stopping LCD Output. | Cypress Semiconductor

Stopping LCD Output.

Summary: 2 Replies, Latest post by U2 on 22 Jan 2012 05:39 AM PST
Verified Answers: 1
Last post
Log in to post new comments.
SenSok's picture
6 posts


I am new to the Cypress PSOC 3. I am writing a ADC program to weigh things, but I am having problems with having the LCD display the last conversion. The program loops and averages the ADC to get an accurate output. I am able to write to the LCD screen, but after the program exits, there is still output on the LCD like the program is still running. How do I stop the program and the LCD at the same time?


Thanks in advance.

user_1377889's picture
9301 posts

The LCD is an electronical independant part and does (as long as there is power supplied) what you want. When you tell it to display something, it will. And if you tell it to display space characters (" ",0x20) it will do as well. so write a routine that clears (with space-characters) the two display-lines or write "Hello Customer" to the display. Afaik there is no explicit clear-function and I did not test if another LCD_Start() will work.



uday's picture
Cypress Employee
569 posts

As told by Bob, the Character LCD is a dumb thing that does what you tell it to do. Once you print something on a char LCD(which is nothing but writing in to the data registers of the LCD) it gets latched and if the electronics unit(in this case PSoC) that is dricing it turns off the data is still held as long as the LCD does not lose power. There is LCD_Clear() routine that clears the char LCD. Open the Char_LCD.h file to gain access to APIs such as LCD_Clear() and more.

Log in to post new comments.