corrected error assignation of motors in methods right and left. now it work fun. Added function to read calibrated sensors data.
Fork of m3pi by
Diff: m3pi.h
- Revision:
- 4:54c673c71fc0
- Parent:
- 1:816a80dcc1a3
- Child:
- 5:09fb0636207b
--- a/m3pi.h Mon Nov 01 23:30:09 2010 +0000
+++ b/m3pi.h Sun Nov 07 09:57:11 2010 +0000
@@ -218,6 +218,8 @@
DigitalOut _nrst;
Serial _ser;
+ BusOut _leds;
+
void motor (int motor, float speed);
virtual int _putc(int c);
virtual int _getc();
