Microbot Motor Control

#define MOTOR_R_DIR 5 // Right motor direction pin #define MOTOR_R_SPD 9 // Right motor speed pin – apply PWM signal (analog out) to this pin #define MOTOR_L_DIR 6 #define MOTOR_L_SPD 10 #define FWD 0 // 0 = forward in our robot wiring #define BWD 1 // 1 = backward in our robot wiring In the

%d bloggers like this: