Skip to content

Instantly share code, notes, and snippets.

@SrikanthKrish
Created June 25, 2012 18:37
Show Gist options
  • Save SrikanthKrish/2990421 to your computer and use it in GitHub Desktop.
Save SrikanthKrish/2990421 to your computer and use it in GitHub Desktop.
log calls that have a name
void callLog(char name[])
{
Serial << "logging call" << endl;
File logData = SD.open("/contacts/log.TXT",FILE_WRITE);
Serial << logData.size() << endl;
logData.println(name);
logData.println();
Serial << logData.size() << endl;
logData.close();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment