Open Tom-AW opened 3 years ago
Hi, the arduino SPI API has changed and these lines in all 3 examples no longer work
SPI.begin(); SPI.setBitOrder(MSBFIRST); //CPOL = 0, CPHA = 1 SPI.setDataMode(SPI_MODE1); // Selecting 1Mhz clock for SPI SPI.setClockDivider(SPI_CLOCK_DIV16);
They should be replaced with
SPI.beginTransaction(SPISettings(1000000,MSBFIRST,SPI_MODE1));
Hi, the arduino SPI API has changed and these lines in all 3 examples no longer work
They should be replaced with