
Public Member Functions | |
| Motor (int baseadd, double voltage, double freq) | |
| Initializes the motor driver. | |
| Motor (int baseadd, double voltage) | |
| Initializes the motor driver using the default PWM frequency (20KHz). | |
| void | finalize () |
| Finalizes the motor driver. | |
| void | on () |
| Turns the motor driver on. | |
| void | off () |
| Turns the motor driver off. | |
| double | set (double voltage) |
| Sets the voltage to be applied by the motor driver. | |
|
||||||||||||||||
|
Initializes the motor driver.
|
|
||||||||||||
|
Initializes the motor driver using the default PWM frequency (20KHz).
|
|
|
Sets the voltage to be applied by the motor driver.
|
1.3.6