Fragmented Heap?

Add an LED to an unused IO pin and make it blink every second. If the LED is still blinking, then your code is running, even if the LCD isn't.

BTW, it was me who bumped your Karma for presenting an outstanding schematic.

Thankyou both, LED are an option but I suspect the only thing I would be sure of is that the program has stopped. I might give it a try to make absolutely sure that it’s not just the display freezing. Thanks for the bump up SteveMann.

philconduit:
J-M-L Could what you suggest work by putting the RTC into the loop and use it to call the other functions, say once a second for the Clock()

you could just have extra variables to remember what’s on display and update only if they have changed.

Thanks for the help everyone. I am going to strip the sketch down to just a basic clock not even using the rotary switch to adjust time. Use the on board LED to confirm the sketch is running and see what happens. If it runs ok I will add elements back in until problems start. This might take some time though as I think a month of trouble free running would be required to prove each step. If I find anything interesting I will post again.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.