avishorp / TM1637

Arduino library for TM1637 (LED Driver)
GNU Lesser General Public License v3.0
428 stars 218 forks source link

Bad owerflow math #28

Closed OndrejPistora closed 6 years ago

OndrejPistora commented 6 years ago

function SetTimer
Was: Clock = (hours 3600) + (minutes 60) + (seconds % 60); Should be: Clock = (hours 3600) + ((minutes % 60) 60) + (seconds % 60); because otherwise input: T.SetTimer(0, 60, 0); returns 2 hours 0 minutes 0 seconds

avishorp commented 6 years ago

No function SetTimer in this project.... you probably missed the right repository.