pinMode(13, OUTPUT); | pinMode(13, OUTPUT); | ||||
//Set up SPI | //Set up SPI | ||||
SPI.setMOSI(MOSI); | |||||
SPI.setMISO(MISO); | |||||
SPI.setSCK(SCK); | |||||
//SPI.setMOSI(MOSI); // uncomment these if using the alternate pins | |||||
//SPI.setMISO(MISO); | |||||
//SPI.setSCK(SCK); | |||||
SerialFlash.begin(CSPIN); | SerialFlash.begin(CSPIN); | ||||
//We start by formatting the flash... | //We start by formatting the flash... |