Success with TinyRTC, I now know the time.


a tiny success story.

i purchased i2c ds1307 real time clock module arduino tiny rtc ebay $4.25 while , got around getting work.

i followed directions http://henrysbench.capnfatz.com/henrys-bench/arduino-sensors-and-input/arduino-tiny-rtc-d1307-tutorial/ , on compile had bunch of errors

code: [select]

compiler output
error linking board arduino duemilanove or diecimila w/ atmega328
(.text+0x0)*: multiple definition of twi_readfrom
build failed project 'rtc'
twi.c.o (symbol plugin)*: (.text+0x0): first defined here

repeated zillion times


so scratched head bit,  looked on internet no great success, swore @ it, gave , came , went looking "multiple definition" compiler said had.

sure enough in wire library twi.c , twi.h exists in 2 places \src , \src\utility directory.

renamed \src\twi.c , twi.h twi.c.no , twi.h.no , recompile , hey presto success, no errors, and, runs.

only 1 little issue left time wrong, had force rtc.adjust command in source code run , hey presto had correct time.  :)

you gold star perseverance , "going distance".
mission accomplished !
well done !

except , record, topic "problems" or "qyestions" (people seeking help).
success stories sre referred gallery.
you ask moderator post think that's belongs.


Arduino Forum > Community > Exhibition / Gallery > Success with TinyRTC, I now know the time.


arduino

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts