m3pi library with fixes for left and right motor specific functions and additional functionality like play

Revision:
1:66b56d54336e
Parent:
0:a6a3ac2e729d
--- a/m3pi.cpp	Thu Jun 02 19:14:14 2011 +0000
+++ b/m3pi.cpp	Thu Jun 02 19:15:43 2011 +0000
@@ -175,10 +175,11 @@
 }
 
 void m3pi::play (char* music, int length) {
-    // the 3pi will not accept music strings longer than 100
+    // The default 3pi serial slave program
+    // will not accept music strings longer than 100.
     if (length > 100)
         length = 100;
-    _ser.putc(DO_PLAY);  
+    _ser.putc(DO_PLAY);
     _ser.putc(length);
     for (int i = 0 ; i < length ; i++) {
         _ser.putc(music[i]);