Open djerickson opened 8 years ago
Hi,
Sorry it's not working for you. I honestly haven't touched things in a number of years, so it's quite possible that incompatibilities have come about.
Just to be sure- are you using the arduino-1.0-testing branch? (I suspect things wouldn't even be compiling for you if not). I put that together around the time 1.0 was released and just never ended up merging it.
If so, I'll try to get some time to look at it over the next week or so and see if I can figure out what's up.
Thanks,
-Tymm
Note: I just merged the arduino-1.0-testing branch as i should have done that quite a while ago.
Hi Tymm,
Thanks much for the response. It looks like your call to the HardwareSerial library is never getting data. I suspect it is a problem in that library, maybe not enabling interrupts or setting up the hardware correctly. It has a bunch of #ifdef's to cover different processors.
// Just keep sucking data from serial port until it runs out, processing // MIDI messages as we go while((c = serial_.read()) != -1) { recvByte(c); }
I'll dive into it this weekend. It's a bit challenging not having a
debugger or any printf() since the only serial port is busy doing midi.
I use spare I/O bits to trigger a 'scope. I'll check what version it is
and if there are changes that help. And I haven't yet tried a simpler
sketch that just calls HardwareSerial.
BTW, nice work. I'm just getting into Midi and like what you have done with this library.
Thanks, Dave
On 12/18/2015 12:32 AM, Tymm (Twillman) Zerr wrote:
Note: I just merged the arduino-1.0-testing branch as i should have done that quite a while ago.
— Reply to this email directly or view it on GitHub https://github.com/tymmothy/TymmsArduinoMIDI/issues/1#issuecomment-165677491.
Hi,
Sorry it's not working for you. I honestly haven't touched things in a number of years, so it's quite possible that incompatibilities have come about.
Just to be sure- are you using the arduino-1.0-testing branch? (I suspect things wouldn't even be compiling for you if not). I put that together around the time 1.0 was released and just never ended up merging it.
If so, I'll try to get some time to look at it over the next week or so and see if I can figure out what's up.
Thanks,
-Tymm
— Reply to this email directly or view it on GitHub https://github.com/tymmothy/TymmsArduinoMIDI/issues/1#issuecomment-165676812.
Hi Tim,
I'm working on Roto, an organ emulator that uses this library. I can't get Midi working with that code, and also can't get the three examples working. Checked the hardware (UNO R3), get nice data from my midi keyboard on serial IN pin. Also nothing is output when I call midi.sendNoteOn(1, 60, 42);
I'd dive in and debug it, but unfortunately the serial port, my one trick for Arduino debug, is tied up with midi. Got any ideas?
BTW, thanks for posting it. Nice work, and it looks like an excellent foundation for a handful of Midi projects I have in mind. I hope to get it working.
Thanks Dave Erickson