View Single Post
  #7   Spotlight this post!  
Unread 11-08-2006, 09:20
intellec7's Avatar
intellec7 intellec7 is offline
108 programmer
AKA: Gustavo
FRC #0108 (SigmaC@ts)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2006
Location: Hollywood, Florida
Posts: 65
intellec7 is on a distinguished road
Send a message via AIM to intellec7 Send a message via MSN to intellec7
Re: Help needed with coding simultaneous movement (EasyC/VEX)

I have attached code that *should* work. You will probably need to modify all of the Rx inputs and PWM outputs.
If any one sees a problem with this code, you are probably right . :-D
BTW there is no overflow protection, which might happen, but I am assuming you don't need really precise servo control? When you stop moving the robot the servo stops in place, but when you start moving it again, the servo moves to its positive limit and then starts the back and forth movement again.
Attached Files
File Type: pdf code_example.pdf (24.0 KB, 63 views)