View Single Post
  #5   Spotlight this post!  
Unread 12-01-2008, 02:32
laultima laultima is offline
Registered User
FRC #1458 (Danvillans)
Team Role: Alumni
 
Join Date: Feb 2007
Rookie Year: 2005
Location: Danville, CA
Posts: 87
laultima is on a distinguished road
Send a message via AIM to laultima
Re: SetPWM and our IR controls

Im pretty sure you only need the while(1) loop if your programming for the VEX controller, which has all the operator code inside of that loop. For programming the Innovation First RC you don't need the loop.

And on the electronics side of things, make sure the PWMs are the right ways in (black is the ground on both the RC and the spike/victor)

Hope this helps.

Edit: If you're still stuck, try taking out the continues out. Im not sure if theyre the problem, but you dont need them for if statements.
__________________
2007 Davis/Sacramento Regional Winner (100, 997, 1458)

2008 Davis/Sacramento Regional Gracious Professionalism Award Winner


Last edited by laultima : 12-01-2008 at 03:19. Reason: addition