I’m trying to send MIDI note messages to my pc via Arduino Uno. Till now I’ve got just one button (so it should be easy), a MIDI output circuit and MIDI to USB converter cable.
Anyway the pc doesn’t receive the messages and (testing all the other parts of the circuit) I think the problem is in the code, but I can’t figure out what it is.
I’ve also have a MIDI monitor that doesn’t display the MIDI messages.
Here the code:
Button_State_Modified.ino (870 Bytes)