From 10e75768b532d44e2c8cd1f2ef159d4d034a03b5 Mon Sep 17 00:00:00 2001 From: Peter de Kok Date: Fri, 12 Jun 2015 10:14:58 +0200 Subject: lateste2 --- Venus_Skeleton/definitions.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Venus_Skeleton') diff --git a/Venus_Skeleton/definitions.h b/Venus_Skeleton/definitions.h index 1e4a110..dc7d540 100644 --- a/Venus_Skeleton/definitions.h +++ b/Venus_Skeleton/definitions.h @@ -3,17 +3,17 @@ // ***************** // Pin configuration -#define PIN_SENS_COMPASS #define PIN_SENS_OBSTACLE_TURRET 9 #define PIN_SENS_IR_LEFT A1 #define PIN_SENS_IR_RIGHT A0 -#define PIN_SENS_SAMPLE_TURRET -#define PIN_SENS_SAMPLE_GRIPPER -#define PIN_SENS_BEACON_TURRET +#define PIN_SENS_SAMPLE_TURRET 5 +#define PIN_SENS_SAMPLE_GRIPPER 6 +#define PIN_SENS_BEACON_TURRET 3 #define PIN_SERVO_LEFT 12 #define PIN_SERVO_RIGHT 13 #define PIN_SERVO_TURRET 11 #define PIN_SERVO_GRIPPER 10 +// Compass is on A4, A5 // Number of directions the robot can choose from: ((x-1) * (360/x)) degree. Preferably a multiple of 4, I think. #define NUM_DIRECTIONS 12 @@ -28,4 +28,4 @@ #define OBSTACLE_TOO_CLOSE 30 // Maximum time between communications to Raspberry Pi (ms) -#define MAX_COMMUNICATION_DELAY 3000 \ No newline at end of file +#define MAX_COMMUNICATION_DELAY 3000 -- cgit v1.2.1