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.
motorDriver.cpp
00001 #include "mbed.h" 00002 #include "motorDriver.h" 00003 00004 motorDriver::motorDriver(char slaveAddress){ 00005 this._i2cAddr = slaveAddress; 00006 } 00007 00008 int motorDriver::actualPosition(){ 00009 return 3; 00010 } 00011 00012 void motorDriver::requestData(char addr, char requestedData ,char *buff, int size){ 00013 00014 } 00015 00016 char motorDriver::addressConverter(char sevenBitAddress){ 00017 return sevenBitAddress << 1; 00018 } 00019 int motorDriver::charArrayToInt(char *array, int size){ 00020 return 5; 00021 }
Generated on Sun Jul 17 2022 19:38:16 by
1.7.2