Shift

From ElectroDragon
Jump to navigation Jump to search
 Wire.requestFrom(_addr, (uint8_t)3);// send data n-bytes read
 ret = Wire.read(); // receive DATA
 ret |= Wire.read() << 8; // receive DATA