Thursday 14 January 2010

Setting the time

Setting an exact time is completed!

I had not realised that i had already achieved this goal with out posting to the ardunio forum. As i mentioned in one of my earlier sites i could only get it to react for 1 second. This is in fact all i need and from this signal i can complete an alarm code / signal.

for exact time:
if (hour == 6){ if (minute == 30) { if (second == 0){
digitalWrite (ledred, HIGH);
delay(500);
digitalWrite (ledred, LOW);
delay(500);
}}}

No comments:

Post a Comment