setDataMode()

Sets the SPI data mode: that is, clock polarity and phase. SPI.setDataMode(mode) mode: See SPI description for more info.
  • SPI_MODE0
  • SPI_MODE1
  • SPI_MODE2
  • SPI_MODE3
None