Login
Register
Menu
Home
TinyCircuits.com
Learn
Help
Search
TinyCircuits Forum
TinyCircuits Forum
General Category
General Discussion
More Dual Motor Board Software Questions
More Dual Motor Board Software Questions
jgavlik
·
3 ·
3764
« previous
next »
Print
Pages:
1
jgavlik
Sr. Member
Posts:
68
More Dual Motor Board Software Questions
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
lennevia
Administrator
Hero Member
Posts:
437
Re: More Dual Motor Board Software Questions
Reply #1 on:
October 20, 2020, 08:02:55 PM
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
jgavlik
Sr. Member
Posts:
68
Re: More Dual Motor Board Software Questions
Reply #2 on:
October 21, 2020, 01:01:28 PM
Réna....thanks...john
Print
Pages:
1
TinyCircuits Forum
General Category
General Discussion
More Dual Motor Board Software Questions
SMF spam
blocked by CleanTalk
Search
Username
Password
Always stay logged in
Forgot your password?