LCD command

Hey People,

Just wondering if theres any control in the LCD Library which can 'freeze' the screen?

The LCD display is inherently static. Once you display something on the screen it stays there until it is overwritten. So, to freeze the screen you just stop sending information to the display.

Don

Is there a command for that l, say if it was a timer?

If it is a timer application just write a pause statement in before you write the next bit of data to the display.

If you want it to freeze when you press a button then you'll have to add that into your code. For example when the button is pressed it can go to a different section of code that loops till the button is pressed again. You'll have to figure out a way to break away from the timer loop, display the timer value and keep it in that section till your ready to go back to the main loop.

Or put a condition on the writing of the time, as long as button is not pressed...
Shouldn't be too hard to expand that to 'press once to pause, press again to unpause'.