You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the time until it fails is similar even with different delays, I assume it has something to do with the serial buffer. But flushing the input buffer before reading the port resulted in no difference.
The text was updated successfully, but these errors were encountered:
Hello,
I've noticed a problem with the python sample code for EvoThermal: Evo Thermal Sample Code.
If I reduce the rate at which the function get_thermals gets called, the program halts after roughly 5 seconds because it gets stuck here: https://github.com/Terabee/sample_codes/blob/a58676f5e7fec1dfcacc5269515b3ef069b01ec7/Python/Evo_Thermal_sample_py3.py#L45C16-L45C43
Hardware used:
Steps to reproduce:
Add a delay in: https://github.com/Terabee/sample_codes/blob/a58676f5e7fec1dfcacc5269515b3ef069b01ec7/Python/Evo_Thermal_sample_py3.py#L95C1-L98C21
Like:
time.sleep(0.5)
I found that it starts getting unreliable at 0.5 seconds.
Since the time until it fails is similar even with different delays, I assume it has something to do with the serial buffer. But flushing the input buffer before reading the port resulted in no difference.
The text was updated successfully, but these errors were encountered: