Ermis Gasetopulos / m3pi_TUB2

Fork of m3pi_TUB by TUB-MRT

Revision:
16:8c1f1622ce81
Parent:
11:7bfb33432791
--- a/m3pi_ng.h	Wed Jul 22 12:43:54 2015 +0000
+++ b/m3pi_ng.h	Sat Jan 30 22:26:00 2016 +0000
@@ -241,6 +241,13 @@
      * @param int The character to send to the 3pi
      */
     int print(char* text, int length);
+    
+    /**
+    * Read the calibrated value of a sensor
+    * @param sensor Pointer to array sensor [0-4]
+    * @param values returned in the range 0-1000 where 1000=completely dark
+    */
+    void readsensor(int *sensor);
 
 #ifdef MBED_RPC
     virtual const struct rpc_method *get_rpc_methods();