inflop / Countimer

This is simple timer and counter Arduino library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding from the countdown timer

cristernicolh opened this issue · comments

I want a countdown timer that adds everytime arduino detects a logic '1' state. For example, it is counting down and the current time is 04:59, if arduino detects a logic '1' it adds 5 minutes and it will be 09:59. I successfully implented this but when it reaches 59 minutes, how can I convert it into hours? like when the time is 58:29, if arduino detects logic '1', the new time will be 1:03:29. Please help?