 client.setServer(mqtt_server, 1883);
 client.setCallback(callback);
 Serial.begin(115200);
+Serial.println("");
 /////////////////////////////
 delay(5000);
 motionControlStart(); // remove when MQTT is active. testing only 

#define DESIREDRPM_TABLE    60      //desired RPM on output wheel
//#define DESIREDRPM_MOTOR    600     //desired motor RPM (this may be superfulous) 
#define DISCSLIPCOUNT       250     //How long alarm cond before alarm signal
#define LOCKEDDISCRPM       20     //RPM to consider as "disc stopped"
#define ROTATIONVARIANCE    2      //Variance in RPM before alarm condition 
//#define TRANSMISSIONRATIO   10      //Tranmission drive ratio n:1
#define NUMBEROFRESTARTS    3     //#of restarts attempted after stopped state

            }
        if (pulseCount > 1){
        Serial.println("motion started, system running");
		delay(3000); 	// wait 3 seconds for disc to come up to fast enough speed
						// to not trip locked rotor function
        restartCount = 0; // set restart counter to 0, since we're started
        allStopVar = 0; // Set allstop condition to off 
        }
    }    
    if (restartCount >= NUMBEROFRESTARTS) {
