View Single Post
  #1   Spotlight this post!  
Unread 11-01-2007, 21:27
Lablabla Lablabla is offline
Registered User
AKA: Carmel Barak
FRC #1957 (LighTeam)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Israel
Posts: 25
Lablabla is an unknown quantity at this point
Question 2007 Servos Question

Hi,
i've been working on the camera module 2day, got it all assembled and calibrated.
I've noticed that the pins for the servos on the Camera PCB itself are gone,
Yet we still got the Pan/Tilt thingies to assemble, which means we can drive them.
I've looked at Kevin's code from his site, and i saw that the PWM0/1 (or 1/2, don't remember right now, it's 04:22 am) is for the Pan/Tilt.
My question is, Is the new code refering to the RC pwm? so I connect the servos cable to the RC PWM0/1 and the code is configured to work?

Another Question,
when i read the workbook for the CMUcam2, it says to download the entire project of the camera (Streamlined) to the RC. my question is, If I want to mix it with my main program, built on the FRC 2007 Default Code, How can I do that? just include camera.h/.c in my project and download and it works? or should i add another files (library and stuff) or is it in a totaly different way?
Thanks alot!
Carmel