Changed I2C communication so interrupts aren't used