Created
June 25, 2012 18:37
-
-
Save SrikanthKrish/2990421 to your computer and use it in GitHub Desktop.
log calls that have a name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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