 			Serial.println("Invalid command!");
 		}
 	}
+/*	
 	if (running) {
 		digitalWrite(STEP_PIN, HIGH);
 		delayMicroseconds(speed);
 		digitalWrite(STEP_PIN, LOW);
 		delayMicroseconds(speed);
 	}
-}
+*/
+}

bool running = false;
float Rsense = 0.11;
float hold_x = 0.5;

#include <TMC2130Stepper.h>
TMC2130Stepper myStepper = TMC2130Stepper(EN_PIN, DIR_PIN, STEP_PIN, CS_PIN);

void serialTuple(String cmd, int arg) {
	Serial.print("Received command: ");

		}
		else if (cmd == "speed") {
			serialTuple("speed", arg);
			//speed = arg;
			setTimer(arg);
		}
		else if (cmd == "setCurrent") {
			serialTuple("setCurrent", arg);
