Go to the documentation of this file.
5 #ifndef ADAFRUIT_MOTOR_CONTROLLER_H
6 #define ADAFRUIT_MOTOR_CONTROLLER_H
11 #include <Adafruit_MotorShield.h>
49 void begin(uint16_t freq = 1600);
78 #endif // ADAFRUIT_MOTOR_CONTROLLER_H
Adafruit_DCMotor * pMotor_
void setSpeed(int value) override
Set the speed of the motor pMotor_.
Implementation of the MotorControllerIntf for the Adafruit_MotorShield.
AdafruitMotorController(uint8_t motor_num, uint8_t addr=0x60)
Construct an AdafruitMotorController for a single motor.
Abstract base interface class for a motor controller.
void begin(uint16_t freq=1600)
Initializes the communication with the motor driver.
diffbot_base
Author(s):
autogenerated on Thu Sep 7 2023 02:35:23