Go Down

Topic: time.h library question (Read 614 times) previous topic - next topic


So I am using the time library in a project, and I have to say, I love how simple it is. Many thanks to the creator. But I am having trouble with one little thing. I would like to set the time equal to 00:00 at the press of a button. So if i press timeButton and have an lcd displaying minuets and seconds. I would like the time displayed to start when that timeButton is pressed. Pretty much using the time library as a timer.

James C4S

have you tried: setTime(0,0,0,1,1,2012);?
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131