Seesaw.Write Method
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.
Write a series of bytes to the I2cDevice connected to the Seesaw board.
C#
protected void Write (Iot.Device.Seesaw.Seesaw.SeesawModule moduleAddress, Iot.Device.Seesaw.Seesaw.SeesawFunction functionAddress, ReadOnlySpan<byte> data);
member this.Write : Iot.Device.Seesaw.Seesaw.SeesawModule * Iot.Device.Seesaw.Seesaw.SeesawFunction * ReadOnlySpan<byte> -> unit
Protected Sub Write (moduleAddress As Seesaw.SeesawModule, functionAddress As Seesaw.SeesawFunction, data As ReadOnlySpan(Of Byte))
- moduleAddress
- Seesaw.SeesawModule
An Seesaw_Module enum that represents the module that we are writing to.
- functionAddress
- Seesaw.SeesawFunction
An Seesaw_Function enum that represents the Seesaw function to be called.
- data
- ReadOnlySpan<Byte>
The Span containg data to be send as a parameter or parameters to the Seesaw device.
Product | Versions |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |