Object Hunt  v0.2
Hunts for a not specified object in an unknown environment
Variables
Motor::Pin Namespace Reference

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...
 

Detailed Description

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.

Variable Documentation

◆ FL_BACKWARD

const uint8_t Motor::Pin::FL_BACKWARD = 0

Front right backward.

◆ FL_FORWARD

const uint8_t Motor::Pin::FL_FORWARD = 1

Front left forward.

◆ FR_BACKWARD

const uint8_t Motor::Pin::FR_BACKWARD = 11

Front right backward.

◆ FR_FORWARD

const uint8_t Motor::Pin::FR_FORWARD = 7

Front right forward.

◆ RL_BACKWARD

const uint8_t Motor::Pin::RL_BACKWARD = 13

Rear right backward.

◆ RL_FORWARD

const uint8_t Motor::Pin::RL_FORWARD = 6

Rear left forward.

◆ RR_BACKWARD

const uint8_t Motor::Pin::RR_BACKWARD = 16

Rear right backward.

◆ RR_FORWARD

const uint8_t Motor::Pin::RR_FORWARD = 19

Rear right forward.