Seesaw.Read(Seesaw+SeesawModule, Seesaw+SeesawFunction, Int32, Int16) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Read a byte array from the I2cDevice connected to the Seesaw board.
protected byte[] Read (Iot.Device.Seesaw.Seesaw.SeesawModule moduleAddress, Iot.Device.Seesaw.Seesaw.SeesawFunction functionAddress, int length, short readDelayMicroSeconds = 0);
member this.Read : Iot.Device.Seesaw.Seesaw.SeesawModule * Iot.Device.Seesaw.Seesaw.SeesawFunction * int * int16 -> byte[]
Protected Function Read (moduleAddress As Seesaw.SeesawModule, functionAddress As Seesaw.SeesawFunction, length As Integer, 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.
- length
- Int32
The number of bytes that are expected to be returned from the Seesaw device.
- readDelayMicroSeconds
- Int16
The delay between sending the function and readinng the data in microseconds.
Returns
Returns the byte array representaing values from the Seesaw device.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for