Midi Controller TX LED solid red.

Hi,

I have a problem with the midi controller project from Note and Volts on Youtube. It's a midi controller with 8 pots sending CC thru a midi socket using a Arduino Nano Mega328p. I followed the tutorial step by step, to be able to load the sketch i had to switch to Mega328p Old bootloader. When i transfer the code to the Nano clone, the TX LED keep being red when turning pots should make it lights saying midi is going thru.. I also connect it to ableton but no midi sent. I have no error message once i load the sketch. :o

I tried to load some sketch (as Blink test) and it works just fine.

I tried to load the sketch with the arduino disconnected from the board but still the TX LED become solid red.

I checked my wiring on the bread board and it s exactly the same as the video.

I guess there is a problem with my code but im a newbie so i just followed the instructions in the video, thats why i don't understand what could be wrong when the guy in the video make the thing work perfectly...

I mentionned if i replaced 1 by 127 here in the sketch : Pot PO1(A0, 0, 20, 127); instead of Pot PO1(A0, 0, 20, 1);

The TX LED do not get solid red anymore but unfortunatly turning nobs do not transmit anything and led keeps shut down...

Here is the link to the video : LIVE from the Lab: Arduino NANO Midi Controller - YouTube

My code is attached as txt file

Can someone give me an advice ? It's very frustrating as i can load examples into the device whitout problem.

thank you a lot

midi controller code.txt (8.18 KB)