Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Please note that the example is not complete because Wire has to be loaded and initialized
- byte address = 0x4F;
- byte read1;
- byte read2;
- Wire.beginTransmission(address);
- Wire.write(0x00);
- Wire.requestFrom(int(address), 2);
- if(Wire.available()) {
- read1 = Wire.read();
- read2 = Wire.read();
- }
Add Comment
Please, Sign In to add comment