Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Blinking Program light on RC (http://www.chiefdelphi.com/forums/showthread.php?t=34783)

jgannon 16-02-2005 21:03

Blinking Program light on RC
 
I saw a thread around here on a similar topic, but the information there was with regard to gyro.h, and wasn't applicable to my problem. I have added Kevin Watson's encoder library to my workspace, copied the important parts of user_routines_fast.c including the #include of encoder.h, and added a call to Initialize_Encoders() in the initialization function. The code compiles fine, but when I send it to the RC, the Program light blinks rapidly between red and green, and the code doesn't respond to anything. When I remove all of the encoder code, everything works fine again. I imagine that finding a solution without being able to see all my code would be hard, so how can I troubleshoot this problem? I'm at a complete loss. Thanks in advance.

whakojacko 16-02-2005 21:27

Re: Blinking Program light on RC
 
hmmm i had the same error but its gone.. Make sure you dont remove the parts of the interrupts that are already there, i think i remember commenting off parts and having the same issue. I believe i initialling stole the interrupts of the nav code and pasted it in to our code (modifited camera code) I think you have to keep in the else CheckUartInts();, but i fixed it 2 hours ago. Anyways, hope that helped See you at sacramento

jgannon 16-02-2005 22:45

Re: Blinking Program light on RC
 
Quote:

Originally Posted by whakojacko
hmmm i had the same error but its gone.. Make sure you dont remove the parts of the interrupts that are already there, i think i remember commenting off parts and having the same issue. I believe i initialling stole the interrupts of the nav code and pasted it in to our code (modifited camera code) I think you have to keep in the else CheckUartInts();, but i fixed it 2 hours ago. Anyways, hope that helped See you at sacramento

That fixed it! Hm... I can't imagine why not calling that function would cause a code error, but it works fine now. Thank you SO much.


All times are GMT -5. The time now is 00:01.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi