 #define MAX_CM 1000
 
 /* 
+ * mesure configuration variables
+ */
+enum {
+	MAX,
+	COUNT,
+	NVARS
+};
+int mesureConfig[NVARS];
+
+/* 
  * servo
  */
 #define SRV 12

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

		case IN_SERVO:

	START,
	ERROR,
	IN_CMD,
	IN_VAR,
	IN_MAX,
	IN_COUNT,
	IN_SERVO,
	IN_STEPPER,
	IN_SCAN_PARAMETERS,
