Arduino | Wire.h Library
Wire.requestFrom(8, 13); // Request 13 bytes from slave while(Wire.available()) Serial.print((char)Wire.read());
Happy making!
if(Wire.available() >= 5) Wire.read(); float pressure = pressure_raw / 64.0 / 100.0; // to hPa arduino wire.h library
Try the built-in I2C scanner (File → Examples → Wire → Scanner), then hook up a cheap OLED or RTC module. You’ll be amazed at what two wires can do. Happy making! if(Wire.available() >