Start of project 2

Dependencies:   Motor Servo mbed mbed-rtos

Revision:
0:9347308e8e1a
Child:
1:7133819e4265
Child:
3:50cee0fef078
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Oct 09 12:22:19 2018 +0000
@@ -0,0 +1,22 @@
+#include "mbed.h"
+#include "stdio.h"
+#include "Motor.h"
+#include "math.h"
+
+
+Motor m(p26, p30, p29);
+int i;
+char x;
+int j;
+
+int main() {
+    
+    while(1){
+        m.speed(1);
+        getchar();
+        m.speed(-1);
+        getchar();  
+    } //end of while loop
+    
+    } //end of int main
+    
\ No newline at end of file