Le 14/04/2023 à 12:44, Roman Haefeli a écrit :
On Fri, 2023-04-14 at 12:37 +0200, cyrille henry wrote:
Le 14/04/2023 à 09:59, Roman Haefeli a écrit :
On Fri, 2023-04-14 at 09:05 +0200, cyrille henry wrote:

This sound like a problem in the serial connection, maybe the
arduino
misses some data because they are send to fast.

You make it sound like it behaves like UDP where some packets are
omitted if the link is saturated. But the serial connection is
_serial_
and buffered (from what I understand) and I was assuming that data
doesn't get randomly lost during transmission.
If you fill the buffer faster than you can empty it, at one point the
buffer will be full and then you will lose data.
you CAN lost data on serial connection.

I see. Do you know how [comport] handles buffer overruns? Does it block
Pd? Does it drop new data and print an error? Does it silently drop
data?
I don't know.
But I was more thinking about data lost in the arduino side.

C



Roman





_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list



_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to