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: LineSensors mbed
Diff: DriveController.h
- Revision:
- 15:150ec9448efc
- Parent:
- 13:aa6f64c73271
--- a/DriveController.h Wed Apr 15 14:40:08 2015 +0000
+++ b/DriveController.h Sat Apr 18 02:54:55 2015 +0000
@@ -12,7 +12,8 @@
DigitalOut treadDirection1;
DigitalOut treadDirection2;
- I2CSlave i2c;
+ DigitalInOut com1;
+ DigitalInOut com2;
LineSensors sensors;
bool sensorStates[8][3];
@@ -23,7 +24,6 @@
void getCommand();
void rotate(char direction);
void spinTest();
- void sendComplete();
double calculateError();
bool intersection();