Quote:
|
Originally Posted by Kevin Watson
This should work because the beacon, receiver and tracker code was developed on a single EDU-RC. I'll try to build it with the latest code and see it it works (or try to figure out what's broken).
-Kevin
|
It works.
I took the reverse tack and added the tracker to the beacon s/w just because I already had our printf replacements in it.
BEWARE: printf isn't included in this, but replacement print statements are.
PWM1 = beacon type 0
PWM2 = beacon type 1
The beacon digital switch is currently hardcoded to the beacon on PWM1
PWM7 = servo A
PWM8 = servo B
IR sensors are on interrupts 1,2 and 4,5 from an earlier version of Kevin's tracker code.
You have to build a new project. I stripped out the project files because they sometimes don't port to new machines well.
I'll probably use your idea in a workshop we're running for local teams on the IR beacon, sensors and s/w.
[edit]
I left the wrong print statements in tracker.c. It's fixed now. It didn't affect execution of the code only the printout of the diagnostic messages.
[/edit]