目录

SPI

transfer()

Description

Transfers one byte over the SPI bus, both sending and receiving.

Syntax

SPI.transfer(val)

Parameters

val: the byte to send out over the bus

Returns

the byte read from the bus

Reference Home