Library for the m3pi robot. This works with a Pololu 3pi robot with the Serial Slave firmware, and exposes and API. This is a fork of cstyles m3pi library.

Dependents:   newlib PID Robot WarehouseBot1 ... more

Fork of m3pi_ng by Nikolas Goldin

Revision:
10:f89d2a3a9ed2
Parent:
9:deb9547909c3
--- a/m3pi_ng.h	Mon May 13 10:54:18 2013 +0000
+++ b/m3pi_ng.h	Tue May 14 11:05:33 2013 +0000
@@ -105,17 +105,19 @@
     m3pi(PinName nrst, PinName tx, PinName rx);
 
     /** Get the signature 
-        returns length 6 char array
+     *  needs a length 6 char array to write into
      */
-    char * signature (void);
+    void signature (char *);
 
     /** Get the raw sensor values
-    */
-    int * raw_sensor (void);
+     *  needs a int[5] array to write into
+     */
+    void raw_sensor (int *);
 
     /** Get the calibrated sensor values
-    */
-    int * calibrated_sensor (void);
+     *  needs a int[5] array to write into
+     */
+    void calibrated_sensor (int *);
    
     /** Play music using the buzzer
      */