|
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.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed
Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star
_
|