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.
Data.cpp
- Committer:
- YosukeK
- Date:
- 2015-02-14
- Revision:
- 2:144ca2f5d850
File content as of revision 2:144ca2f5d850:
#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;
}