TinyCircuits Forum
General Category => General Discussion => Topic started by: jgavlik on October 20, 2020, 06:35:41 PM
-
Are there a (complete) set of motor commands as hinted in the "TinyCircuits Dual Motor Driver Basic Example"
for example...
motor.setFailsafe(1000);
motor.setMotor(1,i);
motor.setMotor(2,i);
Are there any more like this??
Thanks,
John
-
John,
There is also an alternative setMotor() function with a third useBrakes input of true or false for stopping the motors.
There is also a sleep() function that will power down the motors.
You can look in the library for the functions: https://github.com/TinyCircuits/TinyCircuits-ATtiny841-Library/blob/master/MotorDriver.cpp
Réna
-
Réna....thanks...john