|
Re: "Code Error" with RegisterRepeatingTimer
You don't want to be printing from within the CheckIR function. Since that is an interrupt service routine, there might be problems doing long operations like that. I could imagine printing causing the code error to occur. Otherwise, I'm not sure what is going on without more information.
Also, there were a few problems with the whole program that some people were able to find and correct so be sure to read all the comments in the thread.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
|