JJ Dekker / Mbed 2 deprecated Totaleprogramma1

Dependencies:   USBHost USBHostXpad mbed-rtos mbed

Fork of Totaleprogramma by jordy morsinkhof

Revision:
0:345f76c72b9a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Traxster.h	Wed Feb 25 08:25:16 2015 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+
+class Traxster { 
+private:
+    Serial& rob;
+public:   
+    Traxster(Serial& robotComm  /* and other controls or sensors...*/)
+    : rob(robotComm)
+    {
+        rob.baud(19200);
+    };
+    
+    // Set motor speeds. [-1, +1] of max speed for motor.
+    void SetMotors(float m1, float m2);
+    
+};
\ No newline at end of file