<div dir="ltr"><div>I ran this code on an arduino nano and sent it into a comport-print to verify that it passes all the values without change:</div><div><br></div><div dir="ltr">void setup() {<br>  Serial.begin(115200);<br>  while(!Serial);<br>  Serial.println("OK");<br>}<br><br>void loop() {</div><div dir="ltr">  static uint8_t x = 0;<br>  Serial.write(x);<br>  delay(25);<br>  x++;<br>}</div><div dir="ltr"><br></div><div>Maybe you could try that to be sure it's not your arduino code that's doing it.<br></div><div><br></div><div>Martin<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 14, 2019 at 11:14 AM Ingo <<a href="mailto:ingo@miamiwave.com">ingo@miamiwave.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Whatever version was current in September 2018 is the version I have installed <br>
in the new setup.<br>
I wouldn't have been surprised about this behavior in the old version from <br>
2011 - but 2018?<br>
<br>
I don't think there have been too many major changes since September 2018.<br>
<br>
As I had mentioned before: Sometimes it works - sometimes it doesn't .<br>
<br>
Ingo<br>
<br>
<br>
<br>
From: Pd-list [mailto:<a href="mailto:pd-list-bounces@lists.iem.at" target="_blank">pd-list-bounces@lists.iem.at</a>] On Behalf Of Martin Peach<br>
Sent: Tuesday, May 14, 2019 4:20 PM<br>
To: <a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a><br>
Subject: Re: [PD] Comport problem with Arduino: 13 is coming in as 10<br>
<br>
I just tried it here on both Windows 10 and Ubuntu with no issues. I can print <br>
every value from 0 to 255 from arduino and receive it unchanged in pd. I think <br>
possibly the OP is using an older version of comport.<br>
<br>
Martin<br>
<br>
<br>
On Tue, May 14, 2019 at 10:03 AM IOhannes m zmoelnig <<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>> wrote:<br>
On 14.05.19 15:47, Ingo wrote:<br>
> Could it be possible that the operating system does this even before it gets<br>
> to the comport object?<br>
<br>
well, those flags are supposed to control exactly what "the operating<br>
system does" in this respect.<br>
<br>
fgmasdr<br>
IOhannes<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <br>
<a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
<br>
<br>
</blockquote></div>