AnsweredAssumed Answered

Is there any way to display RTC (real-time clock) on a LCD without the LCD "flickering"?

Question asked by Guest on Mar 17, 2009
Latest reply on Oct 11, 2011 by Eddy Ng

Hi. I'm able to display a RTC (real-time clock) on my LCD. The function I'm using to do this is called "clock()" for this case. However, the LCD screen flickers randomly due to the clock() function being inside an infinite loop as shown below.

 

for(;; )

{

    clock();

}

 

If I don't put the clock() into an infinite loop, the RTC on the LCD screen will never count up because the RTC will only be read once. Help is appreciated. Thx

Message Edited by Cryptical on 2009-03-17 09:38 AM
Message Edited by Cryptical on 2009-03-17 09:41 AM

Outcomes