summaryrefslogtreecommitdiffstats
path: root/include/zephyr.h
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-02-10 14:28:16 -0500
committerClyne Sullivan <tullivan99@gmail.com>2016-02-10 14:28:16 -0500
commitc3b516ee1f6e0d317e629ba95abf4ac0cd94f534 (patch)
tree63e615656c03137a57617233fa4a02cf19a3e0a2 /include/zephyr.h
parent476a0dbf41e14458c52a5cd2fe5b4c050a6c6551 (diff)
revised everything
Diffstat (limited to 'include/zephyr.h')
-rw-r--r--include/zephyr.h88
1 files changed, 0 insertions, 88 deletions
diff --git a/include/zephyr.h b/include/zephyr.h
deleted file mode 100644
index 11f922f..0000000
--- a/include/zephyr.h
+++ /dev/null
@@ -1,88 +0,0 @@
-#ifndef ZEPHYR_H_
-#define ZEPHYR_H_
-
-#include <main.h>
-
-#define PI 3.14159265L
-
-#define APPLY_THRESH(n,t) if(n < t && n > -t){ n = 0;}
-
-/*
- * Comment to disable LCD support.
-*/
-
-#define LCD_PORT uart1
-
-#define LCD_RATE 500
-
-#ifdef LCD_PORT
-#endif // LCD_PORT
-
-/*
- * Comment to disable gyro support.
-*/
-
-#define GYRO_PORT 2
-
-#ifdef GYRO_PORT
-
-void zGyroInit(void);
-int zGyroGet(void);
-void zGyroReset(void);
-
-#endif // GYRO_PORT
-
-/*
- * Comment to disable IME support.
-*/
-
-#define IME_ENABLE
-
-#ifdef IME_ENABLE
-
-void zIMEInit(void);
-
-#endif // IME_ENABLE
-
-/*
- * DRIVE_NORMAL will override tank drive options.
-*/
-
-#define DRIVE_JOY 1
-#define DRIVE_THRESHOLD 10
-
-#define DRIVE_NORMAL 3
-
-//#define DRIVE_TANK_LEFT 3
-//#define DRIVE_TANK_RIGHT 2
-
-#define zJoyDigital(j,g,b) joystickGetDigital(j,g,b)
-#define zJoyAnalog(j,a) joystickGetAnalog(j,a)
-
-void zMotorSet(const char *, // Motor Name
- int, // Desired Speed
- unsigned int // Caller ID
- );
-char zMotorGet(const char *); // Motor Name
-
-void zMotorTake(const char *,unsigned int);
-void zMotorReturn(const char *);
-
-#ifdef IME_ENABLE
-
-int zMotorIMEGet(const char *); // Motor Name
-int zMotorIMEGetVelocity(const char *); // Motor Name
-bool zMotorIMEReset(const char *motor);
-
-#endif // IME_ENABLE
-
-void zDriveUpdate(void);
-
-char zGetDigitalMotorSpeed(unsigned char, // Joystick No.
- unsigned char, // Button Group
- unsigned char, // Positive Button
- unsigned char, // Negative Button
- char // Desired Speed
- );
-
-#endif // ZEPHYR_H_