[PD] [comport] interpreting byte 13 as 10

Martin Peach chakekatzil at gmail.com
Wed Mar 29 17:07:36 CEST 2017

On Wed, Mar 29, 2017 at 5:42 AM, Alexandros Drymonitis <adrcki at gmail.com>

> 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.
It works fine for me. Pd 0.47.1, Arduino 1.8.1 on Windows7.
In Arduino:


In Pd


prints 13 to the console.

Serial.println("0") gives 48 13 10 in Pd.
[comport] doesn't interpret anything it receives.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170329/cc066677/attachment.html>

More information about the Pd-list mailing list