![]() |
inputting data for autonomous mode
so i want to put this code i got from the website
http://www.rec.ri.cmu.edu/education/...tent/index.htm specifically the IR Reflective Sensor Program for line tracking now in which file would i put thise code into? although the instructiosn say to put this code into user_routines.c, i thought you put autonomous code programming in user_routines_fast.c? can anyone shed some light? thanks in advance -noob at programming :ahh: this is the code for line tracking Code:
void Default_Routine(void)/* BEGIN Default_Routine(); */ |
Re: inputting data for autonomous mode
take the code from inside the Default_Routine() function, and put it in the User_Autonomous_Code() function (in user_routines_fast.c) instead. it should look like this:
Code:
/* in user_routines_fast.c */ |
Re: inputting data for autonomous mode
Quote:
|
| All times are GMT -5. The time now is 04:20. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi