|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
"Code Error" with RegisterRepeatingTimer
We have tried using the sample code provided here (replacing the IFI Vex headers with FRC controller headers).
However, this code triggers a code error on our RC. Basically, the printf("_____________________\r\r"); line executes several times, then is interrupted for 3-5 seconds, then repeats, and IR input does nothing at all. After a few repetitions, the CODE ERROR light comes on. (This is all in autonomous mode). After commenting out EVERYTHING inside the CheckIR function (leaving only void CheckIR(void) { } ), and commenting out the IR processing code (but leaving printf("_____________________\r\r"); inside the while loop) ), this problem still happens. We are using the latest version of WPILib on a 2008 RC. Also, there are no compile-time warnings or errors. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Congratulations is spelled with a "T" and not a "D"!! | Elgin Clock | Thanks and/or Congrats | 55 | 09-03-2007 13:24 |
| Screenshot of "code not understood" or similar error needed! | Elgin Clock | Programming | 3 | 17-02-2006 22:06 |
| Code Errors With "Bells and Whistles" | Ryan O | Programming | 2 | 31-01-2006 19:29 |
| Code error on RC after downloading "bells and whistles" version of Kevins camera code | DanDon | Programming | 6 | 10-01-2006 18:07 |
| How "bad" are motors with "bad" stickers? | cooknl | Kit & Additional Hardware | 20 | 12-01-2005 10:33 |