Created
October 19, 2015 10:56
-
-
Save johnniehard/017fc561fc38e10c0d82 to your computer and use it in GitHub Desktop.
For date stamping saved frames
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 startRecording() | |
{ | |
String folder = year() +""+ month() +""+ day() +""+ hour() +""+ minute(); | |
record = true; | |
} | |
void record() | |
{ | |
if(record) saveFrame(folder +"/"+ year() +""+ month() +""+ day() +""+ hour() +""+ minute() +""+ second() +""+ millis() +".png"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment