Rotary encoder midi!

Thanks, managed to write on, but does not communicate with MIDI port. I use DualMoco USB firmware, which is to usb midi device. How can I solve that information to send MIDI port on the device?