Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Motors aren't working in C++ #26

Closed
dsharlet opened this issue Dec 25, 2014 · 1 comment
Closed

Motors aren't working in C++ #26

dsharlet opened this issue Dec 25, 2014 · 1 comment

Comments

@dsharlet
Copy link
Contributor

I can't seem to get the motors to do anything with the C++ language bindings. This includes trying to use the demo to run/stop motors. I've connected 3 motors to my EV3 (two large tacho and one medium tacho). Am I missing something basic? I tried fiddling with the modes a bit to get something to happen, with no luck. At least to start with, I'm just trying to get a motor to spin indefinitely.

I've also tried simply echoing stuff into the files in /sys/class/tach-motor/motorn/... Nothing seems to happen.

Everything else seems to work, I can read the position from the tacho (it changes if I manually rotate the axle).

@dsharlet
Copy link
Contributor Author

Never mind... I figured this out. The duty cycle (setpoint) defaults to 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant