A TB6612 motor controller.
More...
#include <TB6612.h>
|
| TB6612 () |
| Create an default TB6612 motor driver controller.
|
|
| __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.
|
|
| TB6612 (byte pinAIn1, byte pinAIn2, byte pinPWMA, byte pinBIn1, byte pinBIn2, byte pinPWMB) |
|
| TB6612 (byte pinAIn1, byte pinAIn2, byte pinPWMA, byte pinBIn1, byte pinBIn2, byte pinPWMB, byte pinStandby) |
|
A TB6612 motor controller.
◆ TB6612() [1/3]
Create an default TB6612 motor driver controller.
◆ TB6612() [2/3]
Passer::RoboidControl::TB6612::TB6612 |
( |
byte |
pinAIn1, |
|
|
byte |
pinAIn2, |
|
|
byte |
pinPWMA, |
|
|
byte |
pinBIn1, |
|
|
byte |
pinBIn2, |
|
|
byte |
pinPWMB |
|
) |
| |
◆ TB6612() [3/3]
Passer::RoboidControl::TB6612::TB6612 |
( |
byte |
pinAIn1, |
|
|
byte |
pinAIn2, |
|
|
byte |
pinPWMA, |
|
|
byte |
pinBIn1, |
|
|
byte |
pinBIn2, |
|
|
byte |
pinPWMB, |
|
|
byte |
pinStandby |
|
) |
| |
◆ __attribute__()
Passer::RoboidControl::TB6612::__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")) |
| ) |
|
Create a TB6612 motor driver controller using only directional control.
- Parameters
-
pinAIn1 | |
pinAIn2 | |
pinBIn1 | |
pinBIn2 | |
- Warning
- - Note that without PWM, the speed of the motor cannot be controlled.
-
- Make sure the standby pin is pulled high.
◆ pinAIn2
byte Passer::RoboidControl::TB6612::pinAIn2 |
◆ pinBIn1
byte byte Passer::RoboidControl::TB6612::pinBIn1 |
◆ pinBIn2
byte byte byte Passer::RoboidControl::TB6612::pinBIn2 |
◆ motorA
◆ motorB
◆ pinStandby
byte Passer::RoboidControl::TB6612::pinStandby |
The documentation for this class was generated from the following files:
- d:/PlatformIO/RoboidControlArduino/src/TB6612.h
- d:/PlatformIO/RoboidControlArduino/src/TB6612.cpp