Glad to see it get fixed!

Quote Originally Posted by timmers View Post
this programme uses I2CREAD and I2cWRITE and so had to go back to ON INTERRUPT to prevent the timing being upset by the ISR.
You might look into using the hardware I2C. You'd have to write some routines to deal with the data, but it will work well once you do.