Revision 18db4dfa
cliffSensor edited
scout_avr/src/cliffSensor.h | ||
---|---|---|
9 | 9 |
bool read_cliffSensor_left(void); |
10 | 10 |
bool read_cliffSensor_right(void); |
11 | 11 |
|
12 |
/* The returned result is in the form of left_front_right; For example, if both left |
|
13 |
and front sensors detect a cliff, the returned value is 0b110 */ |
|
12 |
/* The returned result is in the form of left_front_right; |
|
13 |
* For example, if both left and front sensors detect a cliff, |
|
14 |
* the returned value is 0b110 */ |
|
14 | 15 |
unsigned char read_cliffSensor_all(void); |
15 | 16 |
|
16 | 17 |
#endif |
Also available in: Unified diff