ALPHA_A

Dependencies:   DataPool MD_PID mbed

Revision:
4:169a7b6c0138
Parent:
3:42fdfd41f96a
Child:
5:1142db72d16d
diff -r 42fdfd41f96a -r 169a7b6c0138 main.cpp
--- a/main.cpp	Thu Sep 07 00:37:39 2017 +0000
+++ b/main.cpp	Thu Sep 14 00:36:55 2017 +0000
@@ -5,7 +5,7 @@
 #include "AlphaTransporter.h"
 #include "DataPool.h"
 
-Mekanamu_4 Mekanamu(PA_8, PB_0, PA_2, PA_7, PA_11, PB_1, PA_6, PA_5, PB_5, PF_0, PA_4, PA_3, PB_4, PF_1, PA_1, PA_0, 1);
+Mecanamu_4 Mecanamu(PA_8, PB_0, PA_2, PA_7, PA_11, PB_1, PA_6, PA_5, PB_5, PF_0, PA_4, PA_3, PB_4, PF_1, PA_1, PA_0, 1);
 Serial pc(USBTX, USBRX);
 
 int main() {
@@ -13,13 +13,13 @@
 
     alpha = new AlphaTransporter;
 
-    Mekanamu.Drive(0, 0, 0);
+    Mecanamu.Drive(0, 0, 0);
     float x, y, t;
     while(1) {
         alpha->set();
         x = alpha->read(0) / 128;
         y = alpha->read(1) / 128;
         t = alpha->read(2) / 128;
-        Mekanamu.Drive(x, y, t);
+        Mecanamu.Drive(x, y, t);
     }
 }
\ No newline at end of file