View Single Post
  #5   Spotlight this post!  
Unread 09-02-2006, 19:29
X-Istence X-Istence is offline
Melt the RC controller!
AKA: Bert JW Regeer
no team
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Montville
Posts: 151
X-Istence will become famous soon enoughX-Istence will become famous soon enough
Send a message via AIM to X-Istence Send a message via MSN to X-Istence
Re: Camera code not working....

Quote:
Originally Posted by dhoizner
...
If you want the drive code to have highest priority and execute regardless of whether camera is connected or not, move the call to default_routine() to in front of the call to the camera functions.
...
The default_routine() would run after the camera code, even if a camera is attached or not. Also, by moving it in front of the Camera code, you are letting the camera code possibly modify PWM's after your default code, so in effect, the camera would be overriding the user_default code.
__________________
My Blog!