|
Camera isn't working
Hey, I have been working on this camera code for a while now... nothing seems to be working. This is what I have done so far.
I downloaded Kevins FRC code.
Opened it in MPLAB
Put in the Default_Routine(); in the Process_From_Master_uP
Changed it pwm03 = p1_y and pwm04 = p2_y
Commented out pwm01 and pwm02
I plugged a motor that we are using for pan into the pwm01
I plugged the servo we use for tilt into pwm02
Made the code
I used the IFI_Loader to put the made code onto the robot
The terminal window comes up and the "Searching..." does not come up and the camera does not move at all. The camera has the cable going from it to the TTL port. And the TTL is in the Robot Controller.
Right now I am powering the cam on the robot using the backup battery because I am not sure how it gets powered. I am not sure why the camera is not working. Is there anything I am missing?
Thanks in advance, Sorry for all of the trouble I am giving you guys!! I am the only one who knows anything about programming on my team. So anything would help. Thanks!!
Idaman323
__________________
TEAM 1706 2007 Judges Award, St. Louis (For our amazing ability to have bad luck) 2005 Rookie Inspiration Award, St. Louis
|