[PD] Comport problem with Arduino: 13 is coming in as 10
Simon Iten
itensimon at gmail.com
Tue May 14 11:08:53 CEST 2019
i think it boiled down to using Serial.write with an explicit byte statement
Serial.write(byte(variable));
at least this works with all my midi gear here. what happens if you send 10 from the arduino? do you also get a 10 in pd?
> On 14 May 2019, at 10:45, Roman Haefeli <reduzent at gmail.com> wrote:
>
> Hi Ingo
>
> On Tue, 2019-05-14 at 07:38 +0200, Ingo wrote:
>> I'm getting number 10 instead of 13 from my adruino.
>
> This sounds somehow familiar to me, but I can't recall the exact
> details of the issue nor am I able to find something about it on the
> web.
>
> Have you ruled out any other source besides [comport]? Can you print
> the data with some other tool to make sure that the Arduino is not
> messing up the bytes 10 and 13? If it indeed [comport] is the culprit,
> then it should be quite easy to fix, but then again there we probably
> would find code that does the translation. I am not sure such code
> exists.
>
> 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