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
00001 #include <mbed.h> 00002 #include "Data.h" 00003 00004 /** 00005 * 00006 */ 00007 Data::Data() { 00008 } 00009 00010 Data::~Data() { 00011 00012 } 00013 00014 00015 /** 00016 * 00017 */ 00018 00019 //LENGHT = 2; 00020 00021 SendData::SendData(int left, int right) { 00022 wheelVelocity[0] = left; 00023 wheelVelocity[1] = right; 00024 } 00025 00026 int get(int index) { 00027 int result = -1; 00028 00029 // if (0 <= index && index < 2) { 00030 // result = wheelVelocity[index]; 00031 // } 00032 return result; 00033 } 00034
Generated on Sat Jul 16 2022 09:17:49 by
1.7.2