Closed robertinant closed 7 years ago
The Sketch below will print garbage. If delay is reduced to 400 ms, the Sketch behaves properly.
#include <Wire.h> void setup() { Wire.begin(); // join i2c bus (address optional for master) Serial.begin(115200); Serial.println("Hello"); } byte x = 0; void loop() { Wire.beginTransmission(4); // transmit to device #4 Wire.write("x is "); // sends five bytes Wire.write(x); // sends one byte Wire.endTransmission(); // stop transmitting Serial.println(x); x++; delay(500); }
Resolved and will be available in the next release.
The Sketch below will print garbage. If delay is reduced to 400 ms, the Sketch behaves properly.