Shift

From ElectroDragon Wiki
Revision as of 00:38, 17 February 2020 by Chao (talk | contribs) (Created page with " Wire.requestFrom(_addr, (uint8_t)3);// send data n-bytes read ret = Wire.read(); // receive DATA ret |= Wire.read() << 8; // receive DATA category: C")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 Wire.requestFrom(_addr, (uint8_t)3);// send data n-bytes read
 ret = Wire.read(); // receive DATA
 ret |= Wire.read() << 8; // receive DATA