Try to comment out
SPIClass SPI = SPIClass( SPI_MODE0 );
The SPI object in Arduino is pre-instantiated.
(and remember to #include <SPI.h> in your sketch, I didn't checked)
Try to comment out
SPIClass SPI = SPIClass( SPI_MODE0 );
The SPI object in Arduino is pre-instantiated.
(and remember to #include <SPI.h> in your sketch, I didn't checked)