Log in

View Full Version : user code to default code


phoenixomega001
01-12-2004, 15:56
I am trying to run a user prgm from the default code supplied from Innovation First but it will run what I program but it stops when the loop is done or not at all and doesn't acnowlage the single joystick input.

Tom Bottiglieri
01-12-2004, 16:06
post your main.c file.. there may be a problem with the loop.

kevin.fort
08-01-2005, 18:08
where did you get the 2005 default code?

stephenthe1
08-01-2005, 18:15
this is a little off topic, but are these normal "errors" in mplab compiler?

Clean: Deleting intermediary and output files.
Clean Warning: File "C:\mcc18\2005 code (and encoder 2004)\frc_encoder\frc_encoder\encoder.o" doesn't exist.
Clean Warning: File "C:\mcc18\2005 code (and encoder 2004)\frc_encoder\frc_encoder\ifi_startup.o" doesn't exist.
Clean Warning: File "C:\mcc18\2005 code (and encoder 2004)\frc_encoder\frc_encoder\ifi_utilities.o" doesn't exist.
Clean Warning: File "C:\mcc18\2005 code (and encoder 2004)\frc_encoder\frc_encoder\main.o" doesn't exist.
Clean Warning: File "C:\mcc18\2005 code (and encoder 2004)\frc_encoder\frc_encoder\printf_lib.o" doesn't exist.
Clean Warning: File "C:\mcc18\2005 code (and encoder 2004)\frc_encoder\frc_encoder\user_routines.o" doesn't exist.
Clean Warning: File "C:\mcc18\2005 code (and encoder 2004)\frc_encoder\frc_encoder\user_routines_fast.o" doesn't exist.
Clean: Deleted file "encoder.cof".
Clean Warning: File "encoder.cod" doesn't exist.
Clean Warning: File "encoder.hex" doesn't exist.
Clean Warning: File "encoder.lst" doesn't exist.
Clean: Deleted file "C:\mcc18\05\frc_encoder\frc_encoder\encoder.mcs".
Clean: Done.

mplab says there weren't any errors, but I was wandering if the statements above mean anything isn't configured correctly. thanks,
Stephen

stephenthe1
08-01-2005, 18:18
where did you get the 2005 default code?
you get it here http://www.ifirobotics.com/rc.shtml

Mark McLeod
09-01-2005, 00:09
this is a little off topic, but are these normal "errors" in mplab compiler?

Clean: Deleting intermediary and output files.
Clean Warning: File "C:\mcc18\2005 code (and encoder 2004)\frc_encoder\frc_encoder\encoder.o" doesn't exist.
Clean Warning: File "C:\mcc18\2005 code (and encoder 2004)\frc_encoder\frc_encoder\ifi_startup.o" doesn't exist.
Clean Warning: File "C:\mcc18\2005 code (and encoder 2004)\frc_encoder\frc_encoder\ifi_utilities.o" doesn't exist.
Clean Warning: File "C:\mcc18\2005 code (and encoder 2004)\frc_encoder\frc_encoder\main.o" doesn't exist.
Clean Warning: File "C:\mcc18\2005 code (and encoder 2004)\frc_encoder\frc_encoder\printf_lib.o" doesn't exist.
Clean Warning: File "C:\mcc18\2005 code (and encoder 2004)\frc_encoder\frc_encoder\user_routines.o" doesn't exist.
Clean Warning: File "C:\mcc18\2005 code (and encoder 2004)\frc_encoder\frc_encoder\user_routines_fast.o" doesn't exist.
Clean: Deleted file "encoder.cof".
Clean Warning: File "encoder.cod" doesn't exist.
Clean Warning: File "encoder.hex" doesn't exist.
Clean Warning: File "encoder.lst" doesn't exist.
Clean: Deleted file "C:\mcc18\05\frc_encoder\frc_encoder\encoder.mcs".
Clean: Done.

mplab says there weren't any errors, but I was wandering if the statements above mean anything isn't configured correctly. thanks,
Stephen
That's all normal.
Clean is deleting intermediate files generated when the code is compiled, linked, etc. In your case the files Clean was making sure were deleted had already been deleted. It gave you the warnings just in case you wanted to know.