Internal EEPROM read conflicts with IMU sensor communication

Thanks for the reply @sterretje

Will definitely use these two functions from now on, thanks for pointing that out. The problem still remains though. As I mentioned in the original post, even when using the first sketch, that doesn't read anything from the EEPROM, I get "Ooops, no FXAS21002C detected ... Check your wiring!", which means that arduino cannot find the sensors.