[PD] Comport problem with Arduino: 13 is coming in as 10
Ingo
ingo at miamiwave.com
Tue May 14 15:47:25 CEST 2019
Could it be possible that the operating system does this even before it gets
to the comport object?
From: Pd-list [mailto:pd-list-bounces at lists.iem.at] On Behalf Of Martin Peach
Sent: Tuesday, May 14, 2019 3:32 PM
To: pd-list at lists.iem.at
Subject: Re: [PD] Comport problem with Arduino: 13 is coming in as 10
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
More information about the Pd-list
mailing list