 void loop() {
 
   int x;
+
+  progBtn.tick();
   
   if (running) {
     running = false;
 
-    TrackOn = sx.getTrackBit();
-    if (TrackOn) {                        // Tracksignal = On
+    trackOn = sx.getTrackBit();
+    if (trackOn) {                        // Tracksignal = On
       if (programming) {
         finishProgramming();
       }

    digitalWrite(DataPin[i], HIGH);
    lastOccupied[i] = millis();
  }
  pinMode(PROGLED, OUTPUT);
  digitalWrite(PROGLED, LOW);
  
  pinMode(PROGBUTTON, INPUT);
  digitalWrite(PROGBUTTON, HIGH);                // enable pullup for active low input

  running = false;
  SXOut = 0;   

        }
    
    }    // TrackSignal = Off
  }   // running
 

#ifdef TESTVERSION
