![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
vf
Dependencies: Servo ServoArm mbed
Fork of PES_Official by
Diff: Headers/Declarations.h
- Revision:
- 12:c0bcb95885dd
- Parent:
- 10:f76476943a6c
- Child:
- 13:6c1f8e35b242
diff -r 292bdbd85a9c -r c0bcb95885dd Headers/Declarations.h --- a/Headers/Declarations.h Sat May 06 13:33:23 2017 +0000 +++ b/Headers/Declarations.h Wed May 10 13:30:13 2017 +0000 @@ -17,16 +17,16 @@ #define BLEFT 4 //Arrayindex of the backsward left Sensor & right LED //ColorSensors: -#define RED_UPLIMIT 500 //Default limit in mV -#define GREEN_DOWNLIMIT 501 // -#define GREEN_UPLIMIT 1200 // +#define RED_UPLIMIT 1300 //Default limit in mV +#define GREEN_DOWNLIMIT 1301// +#define GREEN_UPLIMIT 2000 // #define GREEN 1 //Will be used to operate arm functions #define NOBLOCK 0 // -#define RED -1 // +#define RED 2 // //Greifer: -#define PC_7 SERVO0 +//#define PC_7 SERVO0 //Arm #define COLLECT_POS 60.0f @@ -34,7 +34,7 @@ #define TAKE_POS -65.0f //Misc: -#define TIMEOUT 140 //if the timer reaches TIMEOUT ([TIMEOUT] = 0.1s), the robot will reset. +#define TIMEOUT 1400 //if the timer reaches TIMEOUT ([TIMEOUT] = 0.1s), the robot will reset. #define MAX 50 //Once the counter reaches MAX, it will turn around. #endif \ No newline at end of file