software che funziona in base all'ora

#include <swRTC.h>
swRTC rtc; //create a new istance of the lib

void setup() {
rtc.stopRTC(); //stop the RTC
rtc.setTime(12,0,0); //set the time here
rtc.setDate(4,6,2012); //set the date here
rtc.startRTC(); //start the RTC
Serial.begin(19200); //choose the serial speed here
delay(2000); //delay to let the user opens the serial monitor
}

void loop() {
Serial.print(rtc.getHours(), DEC);
Serial.print(":");
Serial.print(rtc.getMinutes(), DEC);
Serial.print(":");
Serial.print(rtc.getSeconds(), DEC);
Serial.print(" -- ");
Serial.print(rtc.getDay(), DEC);
Serial.print("/");
Serial.print(rtc.getMonth(), DEC);
Serial.print("/");

if (rtc.getHours() == 00 && tyc.getMinutes() == 00) ;

{ pinMode(13 HIGH)}
}

beh,intanto e giusto?devo settare le ore e i minuti...ma il resto e ok?