Virtuabotixrtc.h Arduino Library Download __hot__ Site

Poor wiring or lack of pull-up resistors. Solution:

The VirtuabotixRTC.h library was created by (a now-dormant open-source hardware company) to provide a simple, easy-to-use interface for the DS1302 Real-Time Clock IC. The DS1302 is a trickle-charge timekeeping chip capable of counting seconds, minutes, hours, day of the week, date, month, and year (including leap year compensation up to the year 2100). Virtuabotixrtc.h Arduino Library Download

When you first plug in a brand new RTC module, the time will be wrong (usually defaulting to a date in the past). You must run a sketch to Poor wiring or lack of pull-up resistors

void loop() myRTC.updateTime(); Serial.print(myRTC.hours); Serial.print(":"); Serial.print(myRTC.minutes); Serial.print(":"); Serial.println(myRTC.seconds); delay(1000); day of the week

if: