Go Down

Topic: time.h library question (Read 641 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.


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