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.