Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Data.cpp
- Revision:
- 2:144ca2f5d850
diff -r aed433d882c9 -r 144ca2f5d850 Data.cpp
--- /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;
+}
+