I have a very simple program that counts the number of button presses (plus and negatives), does ratios and print a set number of leds accordingly.
The program works well and is stable. the issue begins when I start to sync it up with ntp server. It then starts to freeze after 4-5 minutes. I have tried a few different versions of ntp sync codes, checked free memory as well and everything seems to be fine but the issue persists.
counter.ino (13.7 KB)