RealTimeClock code - change PINs numbers

Hello!
I recently bought RealTimeClock Module and followed example from:
http://www.glacialwanderer.com/hobbyrobotics/?p=12

Everything works great but I can only use it with ATMEGA328 microcontroller,
because THE CODE WORKS ONLY WITH ANALOG PINS 4 and 5.
but what i want is to use RTC module with ATTiny microcontroller which doesn't have analog pins 4 & 5.

has anyone tried to change the pins? Or does anyone have another RTC code to offer?

I found out that the problem is with Arduino Wire Library:

"This library allows you to communicate with I2C / TWI devices. On most Arduino boards, SDA (data line) is on analog input pin 4, and SCL (clock line) is on analog input pin 5"

So there is no way to use this RTC module with ATTiny ?

ATTiny 25/45/85 has SCL (PB2) & SDA (PB0) functions.
ATTiny2313 has SCL (PB7) and SDA (PB5) as well.

What you want seems achievable.

Thanks!
So i just use those pins (ATTiny85 SCL (PB2) & SDA (PB0) ) instead of Analog 4, 5.

I believe so.
On 328, PC5 is SCL, PC4 is SDA.

I found out that the problem is with Arduino Wire Library

No, it isn’t. The problem is that you are trying to use the library with a chip it is not designed to work with!