I'm starting to get more familiar with SD card programming via SdFat.h, but so far I haven't been able to figure out exactly what would happen if I try to write data to the SD card once its full. Would the .open() function return an error? Would it raise an exception? Would it just crash my code?
I want to be able to handle this situation gracefully before it becomes a problem...
Looking here it looks like open returns false on failures of which there can be many causes, so I suspect the same is true for disk full but didn't dig deep enough to be sure.
wildbill:
Looking here it looks like open returns false on failures of which there can be many causes, so I suspect the same is true for disk full but didn't dig deep enough to be sure.
I figured as much. Thanks for the pointer to the file that holds open(). The library is quite extensive and I didn't catch the definition in that file at first.