setBitOrder() sets the order of the bits shifted out of and into the SPI bus, either LSBFIRST (least-significant bit first) or MSBFIRST (most-significant bit first).
This function is part of the SPI library. See the SPI main page for more information.
SPI.setBitOrder(order)
order: the bit order for data transfer. Allowed values: LSBFIRST, MSBFIRST.Nothing.
This function is deprecated and should not be used in new projects. Use SPISettings with SPI.beginTransaction() to configure SPI parameters.