> Hi Again, > > Thanks for the code. > > I have been trying to write to the PCF8583, but I always get a rc=-1 from my > initRTC routine, I am puzzled! > You init TWI ?: TwInit(128); ltmp = 400; TwIOCtl(TWI_SETSPEED,<mp);