setBitOrder()

描述

设定数据在 SPI Bus 上传送顺序为低位元(LSBFIRST)优先或高位元(MSBFIRST)优先

语法


SPI.setBitOrder(order)

参数

orderLSBFIRSTMSBFIRST

回传

See also

setClockDivider()
setDataMode()


函式库参考主页面

The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.