works: MIDI-IN: code + schematics

with midi out and I can't control the channel.

You can only read a channel with a MIDI out on your keyboard, that is you can only respond to notes. You can't control anything on your keyboard with only a MIDI out.