Hi Smuscat,
Recommend you look at the pullup resistors as well (not sure if you have done so?)
Are your connections made to the SDA0 and SCL0 pins? This is important as you have not defined pins other than default in your code.
I also not that in your wait for data, you are triggering once a...