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.
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