Here is my project and code: https://github.com/sixeight7/VController
I have a problem with serial midi coming from Roland devices (VG99 and GR55). Everything will work fine for awhile and then Midi in will just stop. The only thing I can do is reboot the Teensy LC. Whenever I change my code, the time midi in will work gets better, then I add something and it gets worse. I am mostly just adding new functionality to the sketch, but I am not changing the midi in code..
I am lost why Midi in stops completely.
I would like to add a watchdog that checks whether midi is still coming in. But how can I reset the Midi ports?
I have tried restarting the midi by running Midi.begin() and all the Midi.sethandle commands again, but this did not help either...
Can anyone help me?
I have a problem with serial midi coming from Roland devices (VG99 and GR55). Everything will work fine for awhile and then Midi in will just stop. The only thing I can do is reboot the Teensy LC. Whenever I change my code, the time midi in will work gets better, then I add something and it gets worse. I am mostly just adding new functionality to the sketch, but I am not changing the midi in code..
I am lost why Midi in stops completely.
I would like to add a watchdog that checks whether midi is still coming in. But how can I reset the Midi ports?
I have tried restarting the midi by running Midi.begin() and all the Midi.sethandle commands again, but this did not help either...
Can anyone help me?