Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

DS1307 and ATmega128

DS1307 and ATmega128

2004-09-18 by chrisnejm

I am using Imagecraft AVR as my compiler and i have currently been 
attempting to interface my DS1307 with a M128 using I2C (TWI).

I originally started programming for a Phillips RTC and found out 
the PCF8563 isnt available in Australia, so i have converted to the 
DS1307. 
I am aware that codevision has ds1307 routines although they come 
only with the standard version (which i cant afford). 

If anyone out there with codevision and can forward me the I2C.c 
initialisation and the DS1307.c routines that will be greatly 
appreciated. Or if anyone has therie own DS1307 routines which trhey 
wouldnt mind sharing it would also be gretly appreciated.
Please this is the final part of my project which i have been 
working on for the last six months.

Kind Regards;
Chris

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.