MIDIUSB READ

Hello.

I am a beginner to Arduino.

My goal is to use my Korg Nano Control -> in via usb (pro micro) and translate midi -> output midi via "TX" (DIN MIDI) (a usb to midi host)

I have succeded sending notes out via "TX" and also via usb intern midi so i can see via "midi monitor".
But i can't read midi via usb.
I have tried really hard, but with no luck.

Do any have an example of code where you send a midi message via usb and receive that into the Pro Micro?
I am happy if i am able to see it in the Seriel monitor.

/Thanks in advance
/Fredrik

A MIDI device such as the Nano Control cannot be connected to a Pro Micro. You need a USB host mini board for the Pro Micro.

https://www.circuitsathome.com/arduino_usb_host_shield_projects/