Pages: [1]   Go Down
Author Topic: time.h library question  (Read 495 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 13
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Austin, TX
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6132
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

have you tried: setTime(0,0,0,1,1,2012);?
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Pages: [1]   Go Up
Jump to: