control for robotic arm that can play chess using a granular gripper

Dependencies:   Encoder mbed HIDScope Servo MODSERIAL

Fork of chessRobot by a steenbeek

Files at this revision

API Documentation at this revision

Comitter:
annesteenbeek
Date:
Tue Oct 20 12:09:58 2015 +0200
Parent:
72:507d6e76988a
Child:
74:75be98779124
Commit message:
added safety check

Changed in this revision

actuators.h Show annotated file Show diff for this revision Revisions of this file
config.h Show annotated file Show diff for this revision Revisions of this file
--- a/actuators.h	Mon Oct 19 14:16:30 2015 +0000
+++ b/actuators.h	Tue Oct 20 12:09:58 2015 +0200
@@ -8,6 +8,7 @@
 
 
 extern bool motorsEnable;
+extern bool safetyOn;
 
 // CCW is false(positive rotation), CW is true (neg rotation)
 extern double motor1Pos;
--- a/config.h	Mon Oct 19 14:16:30 2015 +0000
+++ b/config.h	Tue Oct 20 12:09:58 2015 +0200
@@ -9,6 +9,8 @@
 #define pot1Pin         A2
 #define pot2Pin         A3
 
+#define safetyPin		D2
+
 #define button1Pin      D7
 #define button2Pin      D6
 #define button3Pin      PTC6