arduplot icon indicating copy to clipboard operation
arduplot copied to clipboard

Wrong output with delay less than 1s

Open semka95 opened this issue 4 years ago • 4 comments

If i set delay less than 1000 in loop, for example:

void loop() {
    readDHT22();
    Serial.printf("%.1f\t %.1f\n", temperature, humidity);
    delay(100);
}

plot displays this: 2021-12-13_19h45m57s_screenshot Is it how it supposed to work, or is it a bug?

semka95 avatar Dec 13 '21 16:12 semka95

Nope, it's not the way designed. On my Mac, it is working fine like this even with 10 ms.

스크린샷 2021-12-14 오전 3 10 04

I haven't tired it with this short interval on Windows, so I am not sure with the Windows python environment.

yhur avatar Dec 13 '21 18:12 yhur

That's interesting. I'm using linux, not windows. I will try to debug this. If I find out something I will let you know.

semka95 avatar Dec 13 '21 18:12 semka95

That will be great. Thanks

yhur avatar Dec 13 '21 21:12 yhur

@semka95 I'm closing this for now. If you need, please re-open it. Thanks.

yhur avatar Jan 24 '22 11:01 yhur