这里会显示出您选择的修订版和当前版本之间的差别。
en:arduino:libraries:spitransfer [2016/12/25 22:15] |
en:arduino:libraries:spitransfer [2016/12/25 22:15] (当前版本) |
||
---|---|---|---|
行 1: | 行 1: | ||
+ | [[en:arduino:libraries:spi|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 | ||
+ | |||
+ | [[en:arduino:libraries|Reference Home]] |