View Single Post
  #4   Spotlight this post!  
Unread 22-01-2004, 15:59
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Tracking and Beacon off of one Edu

Quote:
Originally Posted by SuperDanman
- 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.
They don't conflict for timers or interrupts.
I duplicated what you did over my lunch hour, but I won't be able to test it until I get to the school tonight. If it works I'll send it to you.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle