<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Mar 29, 2017 at 5:42 AM, Alexandros Drymonitis <span dir="ltr"><<a href="mailto:adrcki@gmail.com" target="_blank">adrcki@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I can't send the number 13 from the Arduino to Pd using Arduino's Serial.write() function. Instead I'm receiving a 10. Does this have anything to do with the fact that ASCII 10 is a new line feed and ASCII 13 is the carriage return? Maybe [comport] is interpreting both values as the new line feed, just a thought.<div><br></div></div></blockquote><div><br></div><div>It works fine for me. Pd 0.47.1, Arduino 1.8.1 on Windows7.<br></div><div>In Arduino:<br><br>Serial.write(13);<br></div><div><br>In Pd<br><br>[comport]<br>|<br></div><div>{print]<br></div><div><br>prints 13 to the console.<br><br></div><div>Serial.println("0") gives 48 13 10 in Pd.<br></div><div>[comport] doesn't interpret anything it receives.<br><br>Martin<br></div></div></div></div>