View Single Post
  #7   Spotlight this post!  
Unread 10-02-2007, 20:54
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Getting the camera to work in autonomous

Quote:
Originally Posted by dpick1055 View Post
Code:
Generate_Pwms(pwm13,pwm14,pwm15,pwm16);
I was simply trying to see if i could get the motors to respond to what the camera was seeing. Is there some reason why this isn't working?
Yes, there is a reason. Kevin didn't modify the autonomous function to use the interrupt-based PWM generation he included with the camera code. You need to replace the Generate_Pwms() call with PWM(pwm13,pwm14,pwm15,pwm16) instead.