Unfinished v0.7, added bearing detection

Fork of Pi_Swarm_Library_v06_alpha by piswarm

Revision:
3:4c0f2f3de33e
Parent:
1:b067a08ff54e
Child:
4:52b3e4c5a425
diff -r 0a739218ab11 -r 4c0f2f3de33e piswarm.h
--- a/piswarm.h	Sun Feb 02 20:37:48 2014 +0000
+++ b/piswarm.h	Sun Feb 02 21:18:05 2014 +0000
@@ -134,6 +134,9 @@
     // Minimum value is around 5
     float read_reflected_ir_distance ( char index );
     
+    // Returns the illuminated raw ADC value for a given IR sensor (500us pulse)
+    unsigned short read_illuminated_raw_ir_value ( char index );
+    
     // Returns the raw ADC value for a given IR sensor
     unsigned short read_adc_value( char index );