Does anybody know how I could attach the Arduino Serial Monitor to the Midiboy?
I would like to use Serial.print() for some debugging.
I am using Windows 10.
In the Arduino IDE, I didn’t have to set a COM port, because of the use of USBasp.
When I try to start the Serial Monitor, I get the “Board at USB is not available”.
I am running the MidiChords sample.
Is this normal? Does it have to do with the fact that Midiboy is communicating USB MIDI?
Would it be possible to use the Serial.print() if I would remove the usb midi part from the code?
I haven’t tried that yet.
As Midiboy uses entirely software based USB implementation, a CDC / COM port implementation would incur a big overhead. I did try getting it to work, and unfortunately it was printing characters really slow. Too slow to be used in practice.
But there’s still ways to debug your sketches, like you can just print some relevant debug information to a corner of the screen. 
That’s unfortunate, but understandable.
I’ll go for the ‘print to screen’ solution then.
I might also use the speaker for some debug noises. Feeling really old school now. 
1 Like
Debugging using blinking leds and beeps does give you that certain special something feeling, really 
Btw, you can of course use USBMIDI to send custom sysex data and receive it on your computer to get more accurate readings. 
1 Like
That’s actually a pretty good idea. Thanks.
1 Like
That’s actually an awesome idea 
I have a project of my own where that’ll come really handy. Thanks!
Bonus points for geekiness, I mean, printf() debugging over MIDI SysEx, it’s so wonderfully obscure yet so obvious now that you said it 
1 Like