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@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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list