Yosuke Kirihata / Mbed 2 deprecated Nucleo_roomba

Dependencies:   mbed

Revision:
2:144ca2f5d850
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Data.cpp	Sat Feb 14 11:32:14 2015 +0000
@@ -0,0 +1,34 @@
+#include <mbed.h>
+#include "Data.h"
+
+/**
+ * 
+ */
+Data::Data() {
+}
+
+Data::~Data() {
+
+}
+
+
+/**
+ *
+ */
+
+//LENGHT = 2;
+
+SendData::SendData(int left, int right) {
+    wheelVelocity[0] = left;
+    wheelVelocity[1] = right;
+}
+
+int get(int index) {
+    int result = -1;
+            
+//    if (0 <= index && index < 2) {
+//        result = wheelVelocity[index];
+//    }
+    return result;
+}
+