SPI
setDataMode()
Sets the SPI data mode: that is, clock polarity and phase. See the Wikipedia article on SPI for details.
// SYNTAX
SPI.setDataMode(mode);
Where the parameter, mode can be:
SPI_MODE0SPI_MODE1SPI_MODE2SPI_MODE3
Sets the SPI data mode: that is, clock polarity and phase. See the Wikipedia article on SPI for details.
// SYNTAX
SPI.setDataMode(mode);
Where the parameter, mode can be:
SPI_MODE0SPI_MODE1SPI_MODE2SPI_MODE3