Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 4 months ago.
Beginner programming question on MX-28.h library
Hello everyone,
I am very new to programming and mbed. I am currently using MX-28.h library to control my motor RX-64. I would like to control the rotation direction of the motor via joystick (up means clockwise, down means counter-clockwise)
Things I would like to do
1. Set a rotation limit of 0 to 180 degrees as I am attaching the hinge joint to the RX-64.
2. Able to control the movement of the motor without fixing its final position. i.e if I push my joystick up, it should rotate clockwise and at any point of time when I push down, it should go to the counter-clockwise direction immediately.
3. Preset the movement speed of the motor shaft rotation.
Sorry for the beginner question !
Thank you for your time and assistance
Eugene