Pages: [1]   Go Down
Author Topic: time.h library question  (Read 508 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
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.

Fort Lauderdale, FL
Offline Offline
Faraday Member
Karma: 71
Posts: 6144
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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

Pages: [1]   Go Up
Jump to: