Working on a commission, was suggested via the forums here to use MIDI instead of a straight serial connection from the Arduino. This is due to serial’s habit of dropping a connection randomly, which is only rectified by restarting the app or implementing a heartbeat system.
In any case, I’ve got my Leonardo with the MIDIUSB library and it seems to be working. I’m curious if there is a best method to send simple data. All I need my Arduino to do is send a couple bytes depending on how some switches are at any moment. Is it okay to simply use NoteOn, without ever doing a NoteOff? Is there a different method altogether that makes more sense? And I’m asking this in terms of what OpenFrameworks would like to interpret.