 
 		case IN_STEPPER:
 			if (!(input = userInput("STEPS: ")))
-				break;
+				while (!(input = userInput(NULL)));
 			value = atoi(input);
 			stepperCommand(value);
 			newState = IN_CMD;

			break;

		case IN_CMD:
			if (!(input = userInput("CMD: ")))
				break;
			if (!strcmp(input,"SERVO"))
				newState = IN_SERVO;
			else if (!strcmp(input,"STEPPER"))


		case IN_SERVO:
			if (!(input = userInput("ANGLE: ")))
				while (!(input = userInput(NULL)));
			value = atoi(input);
			servoCommand(value);
			newState = IN_CMD;
