What's up people?
I'm wrote some code to emit a 5 volt pulse after a given period. After each pulse I have it call this time function. The problem I have is that this isn't what I want. I went to the time library and I simply cannot understand it. All I want is to have this time function output the time of day, versus the time since I powered on the Arduino. This way I'll be able to come back after forgetting what time I powered it on, while knowing that it should emit the pulse every 10 hours. Can someone help me?
I see, so I need to have it ask for the time through the serial monitor? And that would be by using setTime(), but how exactly? Can you give me an example?
If I give an input of "1420054710" I get out "1420054656". Data type issue? Using a double did not help and I thought float was the largest data type. Would using an unsigned float help?