I recently purchased one of SparkFun's OpenLogs. I hooked it up and it logs to the log files just fine. The problem I'm having is creating new files. I just haven't found clear documentation and the example sketch on github doesn't seem to be doing anything. I thought that I could just do a Serial.println("newfile.txt"); but that doesn't seem to be working, so then I had my sketch enter command mode before I created a new file. That seems to be creating the new file okay, but I can't find anywhere how to get out of command mode. Here's the section of code I am currently in using, that I got from the example on github:
Serial.write(26); Serial.write(26); Serial.write(26); delay(1000); sprintf(buff, "new %03d.txt", fileName); Serial.println(buff);
Can someone tell me what I'm doing wrong?