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 Chris Styles

Files at this revision

API Documentation at this revision

Comitter:
chris
Date:
Wed Nov 10 09:01:21 2010 +0000
Parent:
5:09fb0636207b
Child:
7:9b128cebb3c2
Commit message:
Changed delay after reset to 0.1 to stop the LCD getting corrupted

Changed in this revision

m3pi.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/m3pi.cpp	Sun Nov 07 10:49:56 2010 +0000
+++ b/m3pi.cpp	Wed Nov 10 09:01:21 2010 +0000
@@ -34,7 +34,7 @@
     _nrst = 0;
     wait (0.01);
     _nrst = 1;
-    wait (0.01);
+    wait (0.1);
 }
 
 void m3pi::left_motor (float speed) {