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.
|