Still unable to send CC using MIDI Library

I'm using 10k pots but the problem doesn't come from these. If I send their read value to the serial monitor, everything's fine (apart from some minor flickering).