I have 3 wires from the pot. It is clear that the two outside wires go to A0 and GRND. WHERE is the third wire( the middle one) connected to on the board?
Regardless of connection of pots outer pins, not receiving and midi out put.
Windows does recognize device as Arduino Leonardo
Sketch (compiled and loaded without error)