Skip to content

Instantly share code, notes, and snippets.

@SrikanthKrish
Created June 25, 2012 18:29
Show Gist options
  • Save SrikanthKrish/2990365 to your computer and use it in GitHub Desktop.
Save SrikanthKrish/2990365 to your computer and use it in GitHub Desktop.
To log calls
void callLog()
{
Serial << "logging call" << endl;
File logData = SD.open("/contacts/log.TXT",FILE_WRITE);
Serial << logData.size() << endl;
logData.println(ph);
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