asdf
Dependencies: L3GD20 LSM303DLHC mbed
Diff: Headers/Sensors.h
- Revision:
- 3:1a8a7cc709cc
- Parent:
- 2:997f57aee3b7
- Child:
- 4:ecfe2115e9a4
--- a/Headers/Sensors.h Thu Apr 03 13:15:40 2014 +0000 +++ b/Headers/Sensors.h Thu Apr 03 15:52:54 2014 +0000 @@ -20,7 +20,9 @@ AnalogIn SenseR(p15); AnalogIn SenseL(p16); AnalogIn SenseF(p17); - +bool wallfront = false; +bool wallright = false; +bool wallleft = false; bool wallFront() @@ -35,4 +37,5 @@ { return SenseR.read() > .94; } + #endif \ No newline at end of file