Seesaw.ReadByte(Seesaw+SeesawModule, Seesaw+SeesawFunction, Int16) Method

Definition

Read a byte from the I2cDevice connected to the Seesaw board.

protected byte ReadByte (Iot.Device.Seesaw.Seesaw.SeesawModule moduleAddress, Iot.Device.Seesaw.Seesaw.SeesawFunction functionAddress, short readDelayMicroSeconds = 0);
member this.ReadByte : Iot.Device.Seesaw.Seesaw.SeesawModule * Iot.Device.Seesaw.Seesaw.SeesawFunction * int16 -> byte
Protected Function ReadByte (moduleAddress As Seesaw.SeesawModule, functionAddress As Seesaw.SeesawFunction, Optional readDelayMicroSeconds As Short = 0) As Byte

Parameters

moduleAddress
Seesaw.SeesawModule

A Seesaw_Module enum that represents the module that we are reading from.

functionAddress
Seesaw.SeesawFunction

A Seesaw_Function enum that represents the Seesaw function to be called.

readDelayMicroSeconds
Int16

The delay between sending the function and readinng the data in microseconds.

Returns

Returns the byte value from the Seesaw device.

Applies to