Reference Language | Libraries | Comparison | Changes
With the new SPI library, each SPI device can be configure once as an SPISettings object.
SPISettings mySettting(speed, dataOrder, datamode)
speed: the speed of the communication
dataOrder: MSBFIRST or LSBFIRST
dataMode : SPI_MODE0, SPI_MODE1, SPI_MODE2, or SPI_MODE3
None.
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.