Hi everyone, first time here on the forum, so, apologies if I'm doing anything incorrectly. Long story short, I built a device that takes voltages in and transform them into midi data. I used an ATMega328P PU and midi data exit through the TX pin of the chip, into an optoisolator and then go to a jack. Everything works great. I decided to make the next step, switching to an ATMega32u4, my main goal is to have those midi data exiting simultaneously out from the jack and from the USB which also act as a power source for the device. The device is now recognized by my laptop as a usb device, so I assume all the USB wiring are correct, however, I have no midi data exiting from any of the jack or usb and I don't understand why. Of course I changed all the pin assignment according to the ATMega32u4 datasheet. I use Arduino IDE for programming and the device is recognized by the IDE as "Arduino Leonardo": it has to be said that I've always used Arduino UNO and Nano, so I don't know if there are any differences in terms of code when it comes to different boards.
My assumption is that, for some reason, TX pin remains silent. I guess there must be something wrong with my code setup: I simply typed
Are there any specific Leonardo libraries I have to be aware of?