summaryrefslogtreecommitdiff
path: root/Venus_Skeleton
diff options
context:
space:
mode:
authorPeter de Kok <p.j.s.d.kok@gmail.com>2015-06-12 10:14:58 +0200
committerPeter de Kok <p.j.s.d.kok@gmail.com>2015-06-12 10:14:58 +0200
commit10e75768b532d44e2c8cd1f2ef159d4d034a03b5 (patch)
treec1edacdd1055bc746ed7890b9c0b1e4b9d66931a /Venus_Skeleton
parent3f30bd36140280c605789f9874fffc2784683118 (diff)
downloadcode-10e75768b532d44e2c8cd1f2ef159d4d034a03b5.tar.gz
lateste2
Diffstat (limited to 'Venus_Skeleton')
-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