[PD] Comport problem with Arduino: 13 is coming in as 10

Martin Peach chakekatzil at gmail.com
Tue May 14 15:32:29 CEST 2019


It's odd that the lines

    /* no post processing */
    new->c_oflag &= ~OPOST;

and

    /* always nocanonical, this means raw i/o no terminal */
    new->c_lflag &= ~(ICANON | ECHO | ECHOE | ISIG);
_are_ present in open_serial() in comport.c.
That should disable all postprocessing of traffic.

Martin

On Tue, May 14, 2019 at 7:58 AM Roman Haefeli <reduzent at gmail.com> wrote:

> On Tue, 2019-05-14 at 13:27 +0200, Christof Ressi wrote:
> > > > So, neither the OS nor the Pd or [comport] version seem to make
> > > > any
> > >
> > > difference.
> >
> > check my last two mails, I think this is macOS/Linux issue. can you
> > try my fix?
>
> Yeah, I will when I have access to an Arduino (or other serial device)
> and report back. Thanks for looking into this.
>
> Roman
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20190514/107a79d8/attachment.html>


More information about the Pd-list mailing list