 #define BPS_HOST 9600
 #define COMMS_BUFFER_SIZE 1024
 #define SERIAL_HOST_DELAY_MS 10000
-
+#define SCAN_STEP_DELAY_MS 600
 /* 
  * ultra sonic telemeter mesure
  */

				while (!(input = userInput(NULL)));
			value = atoi(input);
			stepperCommand(value);
			newState = IN_CMD;
			break;


				newState = IN_STEPPER;
			else if (!strcmp(input,"MESURE"))
				newState = SENSOR_MESURE;
			else if (!strcmp(input,"SCAN"))
				newState = IN_SCAN_PARAMETERS;
			break;

		case IN_SERVO:
