SPI.transfer()

[SPI]

描述

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

語法

SPI.transfer(val)

參數

val: the byte to send out over the bus.

回傳

the byte read from the bus.


函式庫參考主頁面

86Duino 參考的文本是根據 Creative Commons Attribution-ShareAlike 3.0 License,部分文本是從 the Arduino reference 修改的。 參考中的代碼示例已發佈到公共領域。

發表評論

上部へスクロール