Interrupts are disabled inside of an ISR. I2C (Wire) uses interrupts. Set a flag in the ISR. Then, in loop(), if the flag is set do the read and clear the flag.
Interrupts are disabled inside of an ISR. I2C (Wire) uses interrupts. Set a flag in the ISR. Then, in loop(), if the flag is set do the read and clear the flag.