Success with TinyRTC, I now know the time.

A tiny success story.

I purchased some I2C DS1307 Real Time Clock Module for Arduino Tiny RTC from ebay $4.25 a while back and finally got around to getting it to work.

I followed the directions from and on compile had a bunch of errors

compiler output
Error linking for board Arduino Duemilanove or Diecimila w/ ATmega328
(.text+0x0)*: multiple definition of twi_readFrom
Build failed for project 'rtc'
twi.c.o (symbol from plugin)*: (.text+0x0): first defined here

repeated a zillion times

So scratched my head for a bit, looked on the internet with no great success, swore at it, gave up and eventually came back to it and then went looking for the “multiple definition” that the compiler said I had.

Sure enough in the wire library the twi.c and twi.h exists in two places the \src and the \src\utility directory.

Renamed the \src\twi.c and twi.h to and and recompile and hey presto success, no errors, and, it runs.

Only one little issue left was that the time was wrong, I just had to force the RTC.adjust command in the source code to run and hey presto I had the correct time. :slight_smile:

You get a GOLD STAR for perseverance and "going the distance". MISSION ACCOMPLISHED ! WELL DONE !

Except , just for the record, this topic is for "problems" or "qyestions" (people seeking help). Success stories sre usually referred to the Gallery. You could ask the Moderator where to post this but I think that's probably where it belongs.

ooops , thanks

Next time I will post a problem! But for now a question.

Moderator, if you are reading can you move the above to the Gallery please?


[u]Report to moderator[/u] is more effective at getting the moderators' attention.

Thank you :-)