Added individual sensors reading to the original m3pi lib from Chris Style.

Fork of m3pi by Chris Styles

Revision:
9:2cdac562fcea
Parent:
8:4b7d6ea9b35b
--- a/m3pi.h	Thu May 12 13:26:37 2011 +0000
+++ b/m3pi.h	Wed May 31 08:09:14 2017 +0000
@@ -32,6 +32,7 @@
 
 #define SEND_SIGNATURE 0x81
 #define SEND_RAW_SENSOR_VALUES 0x86
+#define SEND_CALIBRATED_SENSOR_VALUES 0x87
 #define SEND_TRIMPOT 0xB0
 #define SEND_BATTERY_MILLIVOLTS 0xB1
 #define DO_PLAY 0xB3
@@ -217,6 +218,8 @@
      * @param int The character to send to the 3pi
      */
     int print(char* text, int length);
+    
+    void readsensor(int *sensor);
 
 #ifdef MBED_RPC
     virtual const struct rpc_method *get_rpc_methods();