[solved]setting date on mega and wiznet

still no answer:( nothing happens on serial...this code was working fine on atmega328...but mega2560 now... :~
I have read on playground I should define I2C addresses...like
#define RTCC_R 0xa3
#define RTCC_W 0xa2

my addresses are 0x51 and 0x02

but I gues this format is not ok..or whatever...