C++ Library for the PsiSwarm Robot - Version 0.8

Dependents:   PsiSwarm_V8_Blank_CPP Autonomia_RndmWlk

Fork of PsiSwarmV7_CPP by Psi Swarm Robot

Revision:
15:be92991621b4
Parent:
12:878c6e9d9e60
--- a/sensors.cpp	Tue Jun 27 17:01:58 2017 +0000
+++ b/sensors.cpp	Fri Jul 14 12:34:22 2017 +0000
@@ -172,7 +172,7 @@
 }
 
 // Returns the stored value of the non-illuminated sensor based on last call of store_background_raw_ir_values
-unsigned short Sensors::get_background_raw_ir_value ( char index )
+char Sensors::get_background_raw_ir_value ( char index )
 {
     // Sanity check: check range of index and that values have been stored
     if (index>7 || ir_values_stored == 0) return 0.0;