Bmm150I2c.ReadByte(I2cDevice, Byte) Method

Definition

Read a byte

public override byte ReadByte (System.Device.I2c.I2cDevice i2cDevice, byte reg);
override this.ReadByte : System.Device.I2c.I2cDevice * byte -> byte
Public Overrides Function ReadByte (i2cDevice As I2cDevice, reg As Byte) As Byte

Parameters

i2cDevice
I2cDevice

An I2C device

reg
Byte

The register to read

Returns

The register value

Applies to