Commits

Trammell Hudson committed d265dd5

Planning for date display

  • Participants
  • Parent commits 70da237

Comments (0)

Files changed (1)

File alphaclock_18_Rev1_0/alphaclock_18_Rev1_0.pde

   Wire.send(0); // start at register 0
   Wire.endTransmission();
   Wire.requestFrom(104, 3); // request three bytes (seconds, minutes, hours)
+  //Wire.requestFrom(104, 6); // request six bytes (seconds, minutes, hours, day, mon, year)
 
   int seconds, minutes, hours;
   unsigned int temptime1, temptime2;
     seconds = Wire.receive(); // get seconds
     minutes = Wire.receive(); // get minutes
     hours = Wire.receive();   // get hours
+	//day = Wire.receive();
+	//month = Wire.receive();
+	//year = Wire.receive();
   }
 
   // IF time is off by MORE than two seconds, then correct the displayed time.