summaryrefslogtreecommitdiff
path: root/Venus_Skeleton/definitions.h
diff options
context:
space:
mode:
Diffstat (limited to 'Venus_Skeleton/definitions.h')
-rw-r--r--Venus_Skeleton/definitions.h10
1 files changed, 5 insertions, 5 deletions
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