|
Object Hunt
v0.2
Hunts for a not specified object in an unknown environment
|
The pin definitions. More...
Variables | |
| const uint8_t | FR_FORWARD = 7 |
| Front right forward. More... | |
| const uint8_t | FR_BACKWARD = 11 |
| Front right backward. More... | |
| const uint8_t | FL_FORWARD = 1 |
| Front left forward. More... | |
| const uint8_t | FL_BACKWARD = 0 |
| Front right backward. More... | |
| const uint8_t | RL_FORWARD = 6 |
| Rear left forward. More... | |
| const uint8_t | RL_BACKWARD = 13 |
| Rear right backward. More... | |
| const uint8_t | RR_FORWARD = 19 |
| Rear right forward. More... | |
| const uint8_t | RR_BACKWARD = 16 |
| Rear right backward. More... | |
The pin definitions.
Each motor is controlled by two GPIOs. A high level lets the regarding motor turn forward or backward. If one of the two pins is high, the other pin should be set low. Otherwise the drivers will behave undefined.
| const uint8_t Motor::Pin::FL_BACKWARD = 0 |
Front right backward.
| const uint8_t Motor::Pin::FL_FORWARD = 1 |
Front left forward.
| const uint8_t Motor::Pin::FR_BACKWARD = 11 |
Front right backward.
| const uint8_t Motor::Pin::FR_FORWARD = 7 |
Front right forward.
| const uint8_t Motor::Pin::RL_BACKWARD = 13 |
Rear right backward.
| const uint8_t Motor::Pin::RL_FORWARD = 6 |
Rear left forward.
| const uint8_t Motor::Pin::RR_BACKWARD = 16 |
Rear right backward.
| const uint8_t Motor::Pin::RR_FORWARD = 19 |
Rear right forward.
1.8.13