7namespace RoboidControl {
58 warning(
"\n- Note that without PWM, the speed of the motor cannot be "
59 "controlled.\n- Make sure the standby pin is pulled high.\n")))
92using namespace
Passer::RoboidControl;
A Motor is a Thing which can move parts of the Roboid.
Definition Motor.h:11
A TB6612 motor controller.
Definition TB6612.h:52
TB6612Motor motorB
Definition TB6612.h:85
__attribute__((warning("\n- Note that without PWM, the speed of the motor cannot be " "controlled.\n- Make sure the standby pin is pulled high.\n"))) TB6612(byte pinAIn1
Create a TB6612 motor driver controller using only directional control.
TB6612Motor motorA
Definition TB6612.h:84
byte byte byte pinBIn2
Definition TB6612.h:69
byte pinStandby
Definition TB6612.h:87
byte pinAIn2
Definition TB6612.h:69
byte byte pinBIn1
Definition TB6612.h:69
TB6612()
Create an default TB6612 motor driver controller.
Definition TB6612.cpp:32
A single port of the TB6612 motor controller.
Definition TB6612.h:10
byte pinIn1
The pin number for the in1 signal.
Definition TB6612.h:13
byte pinIn2
The pin number for the in2 signal.
Definition TB6612.h:15
byte pinPWM
The pin for the PWM speed signal.
Definition TB6612.h:17
TB6612Motor()
Definition TB6612.cpp:3
void SetSpeed(float speed)
Turning direction of the motor.
Definition TB6612.cpp:23