Autonomous line tracking with bump sensor
Fork of SeeedShieldBot by
Diff: SeeedStudioShieldBot.h
- Revision:
- 9:e7a86f43d5ad
- Parent:
- 8:9fd1722259a1
diff -r 9fd1722259a1 -r e7a86f43d5ad SeeedStudioShieldBot.h --- a/SeeedStudioShieldBot.h Thu Jul 31 14:42:21 2014 +0000 +++ b/SeeedStudioShieldBot.h Thu Aug 20 21:45:07 2015 +0000 @@ -103,6 +103,11 @@ */ float line_position(); + /** Returns the values read by the sensors from Right to Left + * @return array of int giving the values read by the IR sensors + */ + int* get_IR(); + DigitalIn rightSensor; DigitalIn inRightSensor; DigitalIn centreSensor;