transceive method

Future<Uint8List> transceive(
  1. int slaveAddress,
  2. Uint8List txBuf,
  3. int rxSize
)

Implementation

Future<Uint8List> transceive(
    int slaveAddress, Uint8List txBuf, int rxSize) async {
  final rxBuf =
      await LotI2cChannel.transceive(_fd, slaveAddress, txBuf, rxSize);
  return rxBuf;
}