mechanical arm

General discussion on mikroC.
Post Reply
Author
Message
rap022673
Posts: 1
Joined: 30 Oct 2015 00:08

mechanical arm

#1 Post by rap022673 » 13 Nov 2015 22:07

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.

bpislife
Posts: 539
Joined: 11 Jun 2006 21:16
Location: Cumberland, RI

Re: mechanical arm

#2 Post by bpislife » 18 Nov 2015 16:35

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.

Post Reply

Return to “mikroC General”