|
Object Hunt
v0.2
Hunts for a not specified object in an unknown environment
|
The pin definitions. More...
Variables | |
| const uint8_t | FRONT_TRIGGER = 4 |
| Trigger pin front. More... | |
| const uint8_t | FRONT_ECHO = 23 |
| Echo pin front. More... | |
| const uint8_t | REAR_TRIGGER = 18 |
| Trigger pin rear. More... | |
| const uint8_t | REAR_ECHO = 17 |
| Echo pin rear. More... | |
| const uint8_t | LEFT_TRIGGER = 5 |
| Trigger pin left. More... | |
| const uint8_t | LEFT_ECHO = 22 |
| Echo pin left. More... | |
| const uint8_t | RIGHT_TRIGGER = 12 |
| Trigger pin right. More... | |
| const uint8_t | RIGHT_ECHO = 27 |
| Echo pin right. More... | |
The pin definitions.
Each ultra sonic sensor has one trigger and one echo pin. Both pins a re needed in order to conduct a measurement.
| const uint8_t UltraSonic::Pin::FRONT_ECHO = 23 |
Echo pin front.
The time between two edges on this pin is used to calculate the distance.
| const uint8_t UltraSonic::Pin::FRONT_TRIGGER = 4 |
Trigger pin front.
This pin is used in order to start an ultra sonic measurement in the front.
| const uint8_t UltraSonic::Pin::LEFT_ECHO = 22 |
Echo pin left.
The time between two edges on this pin is used to calculate the distance.
| const uint8_t UltraSonic::Pin::LEFT_TRIGGER = 5 |
Trigger pin left.
This pin is used in order to start an ultra sonic measurement on the left.
| const uint8_t UltraSonic::Pin::REAR_ECHO = 17 |
Echo pin rear.
The time between two edges on this pin is used to calculate the distance.
| const uint8_t UltraSonic::Pin::REAR_TRIGGER = 18 |
Trigger pin rear.
This pin is used in order to start an ultra sonic measurement in the rear.
| const uint8_t UltraSonic::Pin::RIGHT_ECHO = 27 |
Echo pin right.
The time between two edges on this pin is used to calculate the distance.
| const uint8_t UltraSonic::Pin::RIGHT_TRIGGER = 12 |
Trigger pin right.
This pin is used in order to start an ultra sonic measurement on the right.
1.8.13