You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
380 B

void makePicture() {
saveFrame("data/shot.gif");
img = loadImage("shot.gif");
ephPercentage();
ephSerial();
}
void backupFrame() {
// save picture with results for backup
saveFrame("history/shot_" +
nf(year(), 4) + nf(month(), 2) + nf(day(), 2) + "_" +
nf(hour(), 2) + nf(minute(), 2) + nf(second(), 2) +
".gif");
println("color count image saved");
}