Lol smth

Dependencies:   LocalPositionSystem MMA8451Q Motor_Driver Sensors mbed

Fork of TDP_main_BartFork by Yelfie

Revision:
19:d277614084bc
Parent:
17:de8b3111ddc5
Child:
21:e8da3b351cd0
--- a/sensor_measure.h	Wed Mar 18 16:55:14 2015 +0000
+++ b/sensor_measure.h	Thu Mar 19 16:57:30 2015 +0000
@@ -17,7 +17,7 @@
 #define _SENSOR_MEASURE_H
 
 #define NUMBER_SAMPLES 20 // NUMBER OF SAMPLES FOR SENSOR TESTING
-#define NUMBER_SENSORS_REGULAR 8 // number for the array of sensors
+#define NUMBER_SENSORS_REGULAR 4 // number for the array of sensors
 #define NUMBER_SENSORS_SQUARE 0
 
 //define pinout for all the sensors
@@ -100,7 +100,7 @@
     left_left_down.state = 0;
     sensorArray [arrayBuilder++] = &left_left_down;
     left_right_up.pin = &pin_left_right_up;
-    left_right_up.blackValue = 25000; //??? it's a trick ;)
+    left_right_up.blackValue = 20000; //??? it's a trick ;)
     left_right_up.whiteValue =  79000;
     left_right_up.grayValue = 0;
     left_right_up.state = 1;