PaulStoffregen
Well-known member
I think the play objects need to gain some lower latency features (mainly, keeping the file open and ready) on the next major round of audio library work.
SPI.setSCK(14); // Audio shield has SCK on pin 14
SPI.setMOSI(7); // Audio shield has MOSI on pin 7
..
SerialFlash.begin();
..
SerialFlash.eraseAll();
while (!SerialFlash.ready()) {
}
- is eraseAll() the correct function to erase the whole chip ?
Yes, that's correct.
Can you please give a short example (a few line, not a complete sketch) how to create a file and write it ?
Your example does only create, but writes no data