Hi all,
I've tryed SLFS library and works very well but I've have some problems with interrupts.
I've created and opened file in setup. Now I put in the interrupt the function of file write but when interrupt occurs code stop working.
Here's code:
Setup:
SerFlash.begin();
SerFlash.open("myfile.txt", FS_MODE_OPEN_CREATE(400000, _FS_FILE_OPEN_FLAG_COMMIT));
SerFlash.close();
SerFlash.open("myfile.txt", FS_MODE_OPEN_WRITE);
pinMode(INT, INPUT_PULLUP);
attachInterrupt(INT, IntFunction, FALLING);
IntFunction:
SerFlash.write(data);