Merge pull request #18 from BackToy/master

fix processing SAVE default format
This commit is contained in:
aster94
2022-10-23 07:49:58 +02:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@@ -299,7 +299,7 @@ void mouseClicked() {
//save frame
if (mouseY>buttonY && mouseY <buttonY+buttonH &&
mouseX>button5X && mouseX <button5X+smallButtonW) {
String a = "la_capture-"+immage; //+".jpg"; //if you prefer this format, default .tif
String a = "la_capture-"+immage+".jpg"; //if you prefer this format, default .jpg
save(a);
immage++;
}

View File

@@ -13,10 +13,10 @@ static const int N_SAMPLES = 300;
// what pins to use, between 0 and 15
static const int PIN0 = 4;
static const int PIN1 = 5;
static const int PIN2 = 12;
static const int PIN3 = 14;
static const int PIN0 = 4; // D2
static const int PIN1 = 5; // D1
static const int PIN2 = 12; // D6
static const int PIN3 = 14; // D5
// unused pins should be tied to the ground
static_assert(PIN0 >= 0 && PIN0 < 16, "");