Hi Dan,

i hope you got ahead with your code in the meantime.
My project is a clock (who could guess it?) with electromechanic seven segment displays.
The clock is running (1/2 hour behind by now) but the code for setting the time is still missing - as well as the buttons to be used for it.

You don't have to initialize the pins you use for I2C, it is done by the i2cread/i2cwrite commands.

I don't see what is causing the communication problems in your code - so i propose you check your hardware wiring.

Best wishes,

Ingo