SPI.transfer(0x02); // shut down
SPI.transfer(0x03); // turn on
...
digitalWrite(slaveSelectPin,LOW);
No point in sending commands until you select the slave.
SPI.transfer(0x02); // shut down
SPI.transfer(0x03); // turn on
...
digitalWrite(slaveSelectPin,LOW);
No point in sending commands until you select the slave.