Sending MIDI CC with Potentiometer issues

 if (CCTH != OLDCC)
 {

   Serial.println (CCTH);
   OLDCC=CCTH;
 }
// OLDCC=CCTH;