Page 1 of 1

LCD Display Clear

Posted: Sun Oct 18, 2009 6:56 pm
by Tim115
Hi,
I have a project that requires the LCD to display a message when one of eight input buttons is pressed. The thing that is causing me much grief is getting the message to display only once, then clear and remain in the cleared state until the next button is pressed. Note the buttons keep the port pin held high as part of the normal functionality of the system this has caused a bit of fun with the display and switch push timing.

If anybody has any advise or an example on how to go about this then it would be most helpful.

Re: LCD Display Clear

Posted: Mon Oct 19, 2009 8:38 am
by Benj
Hello

You could do it like this.

Read a single switch into a variable using an input icon,
Use a decision to see if the switch is held low,
If the switch is held low then clear the display and print your message,
Then repeat for the other switches.