um... we used the camera's pwm constants in the autonomous code last year without fail... why would this be causing a scope error at all?
snippet:
PHP Code:
//update variables
autoOption = (bAutoOpt01 + (bAutoOpt02*2))+1; //parse the binary input
robotTilt = Get_Gyro_Angle();
cam_pan = PAN_SERVO;
cam_tilt = TILT_SERVO;
cam_pixels = T_Packet_Data.pixels;
that worked without fail. i wouldnt use get__ functions though, unless they are inline, because the sheer amount of calls you will be making to these funtions might cause undesirable overhead.