View Single Post
  #3   Spotlight this post!  
Unread 22-01-2004, 15:50
DanL DanL is offline
Crusty Mentor
FRC #0097
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Somerville, MA
Posts: 682
DanL is just really niceDanL is just really niceDanL is just really niceDanL is just really niceDanL is just really nice
Send a message via AIM to DanL
Re: Tracking and Beacon off of one Edu

- Yes, thats what I meant - I did add Initialize_Beacon(); to user_routines.c (right above Initialize_Tracker()

- I didn't select which beacon to track, but I changed the beacon PWM wire from PWM1 (left one) to PWM2 (right one), and nothing changed.

- I did add Timer_0_Int_Handler(); to user_routines_fast.c in the appropriate spot in InterruptHandlerLow().

I'm not available tonight, but I'll e-mail you the code. What really puzzles me is why the controller goes into an infinate loop. Does anyone know if the beacon and the tracker share an interrupt or a input or something, and maybe thats causing a conflict? I changed the tracker PWMs to 3 and 4, so its not that... the beacon uses timer0 while the tracker uses timer1... I don't believe the beacon uses interrupts 3, 4, 5, or 6... I'm clueless.
__________________
Dan L
Team 97 Mentor
Software Engineer, Vecna Technologies