Share via


SPI.Write Method (Byte[])

Writes an array of bytes to the interface.

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

Syntax

[MethodImplAttribute]
public void Write (
         byte[] 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 8-bit mode.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

SPI Class
SPI Members
Microsoft.SPOT.Hardware Namespace