Language
Edit

Seesaw.Write Method

Definition

Write a series of bytes to the I2cDevice connected to the Seesaw board.

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))

Parameters

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.

Applies to