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.
Dependencies: USBHost USBHostXpad mbed-rtos mbed
Fork of Totaleprogramma by
Traxster.h
- Committer:
- 347467
- Date:
- 2015-02-25
- Revision:
- 0:345f76c72b9a
File content as of revision 0:345f76c72b9a:
#include "mbed.h"
class Traxster {
private:
Serial& rob;
public:
Traxster(Serial& robotComm /* and other controls or sensors...*/)
: rob(robotComm)
{
rob.baud(19200);
};
// Set motor speeds. [-1, +1] of max speed for motor.
void SetMotors(float m1, float m2);
};
