Owen Roseborough / Mbed 2 deprecated BeverageRoverV1

Dependencies:   mbed

Revision:
0:17d76ace37b6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/motorControl.h	Fri Mar 06 17:20:00 2015 +0000
@@ -0,0 +1,28 @@
+// motorControl.h -----------------------------------------
+
+#define STOPSPEED 0.85
+#define WARMUPSPEED 0.70
+#define MAX_VOLTAGE 1.2
+#define COUNTSOF1REV1CH  166.67
+#define FTOF1REV    0.64444
+#define MAXSPEED    1.3 
+#define INITIALPWMINCREMENT 0.15
+#define NUMOFEXPINCREMENTS  10
+#define NUMOFEXPINCCOMPLETEWAVE  20
+#define SIZEOFINCREMENT 1.1
+#define TIMEINCREMENTS 0.5
+
+extern PwmOut leftSideMotor;
+extern PwmOut rightSideMotor;
+
+void stopMotors (void);
+int warmupStart(void);
+void recordMotorCounts(int *ptrMotorCounts);
+void assignAverage(float average);
+void exponentialAccAndDecCurves(void);
+void stopMotors1 (void);
+void accelerateMotors (void);
+void decelerateMotors (void);
+void motorsFullSpeedForeward (void);
+void testingFunction(void);
+void testingFunction1(void);
\ No newline at end of file