diff options
Diffstat (limited to 'include/main.h')
-rw-r--r-- | include/main.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/main.h b/include/main.h index ebe72a6..6d36973 100644 --- a/include/main.h +++ b/include/main.h @@ -11,6 +11,34 @@ extern "C" {
#endif
+/*
+ * Aliases for all the motors, stored in an enum for convenience.
+*/
+
+enum MOTOR_PORT_MAP {
+ UNUSED = 0,
+ CANNON1,
+ CANNON2,
+ CANNON3,
+ CANNON4,
+ INTAKE,
+ DRIVER,
+ DRIVEL,
+ LIFT1,
+ LIFT2,
+ ROTATER,
+};
+
+enum IME_PORT_MAP {
+ IDRIVER,
+ IDRIVEL,
+ IROTATER,
+ ILIFT1,
+ ILIFT2,
+ ICANNON3
+};
+
+
void autonomous();
void initializeIO();
void initialize();
|