Im building a timer on my arduino. Im using an lcd (16, 2). I have an hour counter, a minute counter and a seconds counter on one screen, counting at the same time. But there is one problem: when the seconds, or minutes counter reaches 60, the minute or hour is count, but the minutes and seconds continue to count. I dont know how to reset the counter when it reaches 60. Please answer, I need help!
Here is my code (a bit messy and very dumb, Im a begginer):
LiquidCrystal lcd(13, 12, 11, 10, 9, 8 );
lcd.print(millis() / 3600000);
lcd.print(millis() / 60000);
lcd.print(millis() / 1000);
Now I just need to add or change something. Ok, Im waiting for your help!
Until further notice.