Hi,
I am using the data logging shield to save measurements on an SD card. It used to work perfectly, but now I have noticed that every time I click the upload button, an empty file will save on the SD card and the measurements will save on the following file. However, if I just click the serial monitor, the file saves normally. I've attached a picture of how the files are saved on the SD card. You can see that LOGGER00 and LOGGER04 are zero bytes after I clicked the upload button and the actual measurements will save on LOGGER01 and LOGGER05. LOGGER02 and LOGGER03 are from when I clicked the serial monitor. Is there anything I can do to fix this?
Thanks for your help!