Share via


Write Method (UInt16[])

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Writes an array of unsigned short arguments to the interface.

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)

Syntax

'Declaration
Public Sub Write ( _
    writeBuffer As UShort() _
)
public void Write(
    ushort[] writeBuffer
)
public:
void Write(
    array<unsigned short>^ writeBuffer
)
member Write : 
        writeBuffer:uint16[] -> unit 
public function Write(
    writeBuffer : ushort[]
)

Parameters

Remarks

You must size the buffer correctly, according to the specific protocol for the hardware device. Note that this protocol varies from one device to another.

This method uses the interface in 16-bit mode.

.NET Framework Security

See Also

Reference

SPI Class

Write Overload

Microsoft.SPOT.Hardware Namespace