View Single Post
  #2   Spotlight this post!  
Unread 30-01-2006, 22:06
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: Code Errors With "Bells and Whistles"

Quote:
Originally Posted by Ryan O
I rewrote the tracking code to track both ways. The C18 compile compiles it cleanly, and it loads with out a problem. The only problem is that after a second, I get a blinking red light on the robot indicatinga code error. I reset the bot and got the following on the Com1 output screen:

"
<IFI>
Camera: Initialization state = 1
Camera: Configuring with EEPROM data
Tracking: Configuring with EEPROM data
"

I have break statements included in my code, if thatmakes a difference.

Did I just leave out a nessacary code line or something? The only rountine I changed was the Servo_Track() routine. Any help would be great.
Did you fiddle with anything that could possibly be related to an interrupt service routine?
I had the identical problem with my code (not Kevins), caused by not handling the low-priority ISR.
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL