That's how the Wire library examples receive I2C input. Please direct improvements to the library maintainers. Apart from that I cannot see any error in that code - so far.
That's how the Wire library examples receive I2C input. Please direct improvements to the library maintainers. Apart from that I cannot see any error in that code - so far.