INF2004-Project v0.1
 
Loading...
Searching...
No Matches
Motor Control Constants

Constants for the motor control driver. More...

Macros

#define MOTOR_DEFAULT_DIFF_RATIO   1.05f
 Default ratio for motor speed difference.
 
#define MOTOR_LEFT_PIN_ANTICLKWISE   17
 GPIO pin for left motor anti-clockwise.
 
#define MOTOR_LEFT_PIN_CLKWISE   16
 GPIO pin for left motor clockwise.
 
#define MOTOR_PWM_CLKDIV   100
 PWM clock divider.
 
#define MOTOR_PWM_PIN_LEFT   10
 GPIO pin for left motor PWM.
 
#define MOTOR_PWM_PIN_RIGHT   11
 GPIO pin for right motor PWM.
 
#define MOTOR_PWM_WRAP   62500
 PWM wrap value.
 
#define MOTOR_RIGHT_PIN_ANTICLKWISE   14
 GPIO pin for right motor anti-clockwise.
 
#define MOTOR_RIGHT_PIN_CLKWISE   15
 GPIO pin for right motor clockwise.
 

Detailed Description

Constants for the motor control driver.