SPI.Write Method (UInt16[])

Writes an array of unsigned short arguments to the interface.

Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)

Syntax

[MethodImplAttribute]
public void Write (
         UInt16[] writeBuffer
)

Parameters

  • writeBuffer
    The buffer that will write to the interface.

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.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

SPI Class
SPI Members
Microsoft.SPOT.Hardware Namespace