[2152] Connecting to blynk-cloud.com:80
[2349] Ready (ping: 56ms).
djdj
Starting Artnet nbNeededUniverses:16
Ready to record…
Recording has started
Filename:/savedata_000.dat
Recording has started
Filename:/savedata_000.dat
Recording has started
Filename:/savedata_000.dat
@Stef_Weicks normally when you send something different than 1 to record it will stop the while (record==1)
The the recording should not start before you send 1 to record
@Stef_Weicks one last trick get my original code
Put
static bool new_record;
And on the if(new_record)
{
new_record=false;
///add this
saveframes();
Serial.println(“start new recording”);
}
[2635] Connecting to blynk-cloud.com:80
[3126] Ready (ping: 88ms).
Starting Artnet nbNeededUniverses:16
Ready to record…
Recording stopped …
frames saved:0 frames lues:0 lost frames:0
time per frame nan
start new recording
Recording has started
Filename:/savedata_001.dat
Recording has started
all right… yes i did a recording today with this code… i hope its the latest version … I already saved so many fileversions and took the latest one. so i hope we did no later changes
I wish you much fun in there
by the way … what kind of training are you doing there?
@Stef_Weicks it can’t start by itself that is not normal.
You stated record=0
Unless you push it to 1 somehow
The test while(record==1) has to fail.
Just before the while
Add serial.printf(“record:%d”,record);
[2125] Connecting to blynk-cloud.com:80
[2439] Ready (ping: 61ms).
Starting Artnet nbNeededUniverses:16
Ready to record…
record:0Recording stopped …
frames saved:0 frames lues:0 lost frames:0
time per frame record:0record:0record:0record:0record:0record:0record:0record:0
record-in while:1
start new recording
Recording has started
Filename:/savedata_000.dat
record-in while:1Recording has started
Filename:/savedata_000.dat
record-in while:1Recording has started
Filename:/savedata_000.dat
record-in while:1Recording has started