anyone have any idea's then

one thing i forgot to do was add pull up resistors on the data and clock lines so i added 10k resistors to them and i get the values 16 for hours minutes and seconds, whether connected to the rtc or not.

with the data line being bi directional i don't no what to do in means of setting it as an input or an ouput, or do i just not define it as either.

Thanks

Dan