Hello All.
I'm a noob programmer for adruino. I was able to get my i2c RTC working, commuicating, and printing with a Serial.print().
What I am trying to do with my RTC is take reading from a analog temp sensor, an i2c pressure sensor, an analog wind speed sensor, and an i2c compass module. (More or less its a home built weather station.)
I want the reading to happen every 5 min. I dont know if I am even heading in the right direction. Currently I have:
if(now.minute() == 5,10,15,20,...,55,00)
{
// RTD Day Of the Week
if(dispDOW == 0)
Serial.print("SUN: ");
if(dispDOW == 1)
Serial.print("MON: ");
...
...
// Temp Display in Deg F
Serial.print(" Temp: "); // Temp will be in a format of
Serial.println(degF); // ##.#
Serial.println(MPH);
}
Any thoughts?!