Page 1 of 1

mechanical arm

Posted: 13 Nov 2015 22:07
by rap022673
I have an easypic v7 i am having a hard time writing a program that will 1. turn on electromagnet. 2. turn on motor 1 to lower the magnet.3 reverse motor 1 to raise magnet with can. 4. turn on motor 2 180 degrees. 5. turn motor 1 on to lower the can. 6. turn off the electromagnet. 7. reverse motor 1. 8. turn motor 2 on again 180 degrees. 9. repeat 5 times. if anyone can help me with the code i would greatly appreciate it. I know its alot to ask for but i am a student learning about microprocessors and have had no luck with any of the codes i have tried and project is due in a week.

Re: mechanical arm

Posted: 18 Nov 2015 16:35
by bpislife
You have to share your code and explain what problems you are having. Then we can take a look and advise on what you did wrong and how to fix it. That is how you will learn. If we do the coding all for you, then you learn nothing. Also, even if we wanted to write the code for you, we don't even have schematics or anything.