Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Help! Autonomous isn't working... (http://www.chiefdelphi.com/forums/showthread.php?t=53785)

DotCom 09-02-2007 20:34

Help! Autonomous isn't working...
 
Hey! We're having a bit of trouble getting the autonomous to work. We changed a part of the code in the main.c file in order to get the autonomous mode to turn on when we press the p1_sw_trig (for testing purposes), but it's not working. Here's what we changed:

Code:

      if (autonomous_mode||p1_sw_trig)          /* DO NOT CHANGE! */
      {
        User_Autonomous_Code();        /* You edit this in user_routines_fast.c */
      }

We also changed the while loop in the user_routines_fast.c file to work with the trigger:

Code:

while (autonomous_mode||p1_sw_trig)
  {
execute autonomous code...
  }

We got it to work last year, but apparently it's not working in this code. I get the feeling we're missing something fundamental...

Any ideas? =]

DustinB_3 09-02-2007 21:09

Re: Help! Autonomous isn't working...
 
I would suggest building a dongle. Instructions can be found here.


All times are GMT -5. The time now is 04:45.

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