summaryrefslogtreecommitdiffstats
path: root/include/main.h
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-11-30 16:01:54 -0500
committerClyne Sullivan <tullivan99@gmail.com>2015-11-30 16:01:54 -0500
commit31912e28d5311a0e8585dc36e2c01cdd0e3315ca (patch)
treee7e03c28fee79ce9c27477701e2d7b4fda98c22b /include/main.h
parent3cba814333829daa431f663cf278315f56b47515 (diff)
libZEPHYR began
Diffstat (limited to 'include/main.h')
-rw-r--r--include/main.h34
1 files changed, 1 insertions, 33 deletions
diff --git a/include/main.h b/include/main.h
index d1fcdb4..7022f11 100644
--- a/include/main.h
+++ b/include/main.h
@@ -2,44 +2,12 @@
#define MAIN_H_
#include <API.h>
-
-#define LCD_PORT uart1
-
-#define ANALOG_PORT(x) (x+13)
+#include <zephyr.h>
#ifdef __cplusplus
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 = 0,
- IDRIVEL,
- IROTATER,
- ILIFT1,
- ILIFT2,
- ICANNONL,
- ICANNONR
-};
-
-
void autonomous();
void initializeIO();
void initialize();