Dependencies: LocalPositionSystem MMA8451Q Motor_Driver Sensors mbed
Fork of TDP_main by
Diff: sensor_measure.h
- Revision:
- 36:a48d57d63630
- Parent:
- 32:d1dc27f4a18d
- Child:
- 37:3d14df6dec34
--- a/sensor_measure.h Tue Mar 24 19:51:28 2015 +0000 +++ b/sensor_measure.h Wed Mar 25 11:50:44 2015 +0000 @@ -65,7 +65,7 @@ int arrayBuilder = 0; //integer solely used for populating the array //right_right right_right_up.pin = &pin_right_right_up; - right_right_up.blackValue = 13000*BLACK_THRESHOLD; + right_right_up.blackValue = 18000*BLACK_THRESHOLD; right_right_up.whiteValue = 72000; right_right_up.grayValue = 0; // 0 for all the non-square sensors right_right_up.state = 0; //setting all sensors as black at begging @@ -77,7 +77,7 @@ right_left_up.state = 1; sensorArray [arrayBuilder++] = &right_left_up; right_right_down.pin = &pin_right_right_down; - right_right_down.blackValue = 2000*BLACK_THRESHOLD; + right_right_down.blackValue = 4000*BLACK_THRESHOLD; right_right_down.whiteValue = 12000; right_right_down.grayValue = 0; right_right_down.state = 0;