Table of Contents

spi_write

WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0

Write a byte to the SPI bus

Description

spi_write ( int $byte )

Parameter

$byte: An integer byte value to write to the SPI bus (0-255)

Return Values

None

See Also

spi_clearcs() - Clear the CS output of the SPI bus

spi_read() - Read a byte from the SPI bus

spi_setcs() - Set the CS output of the SPI bus