View Single Post
  #4   Spotlight this post!  
Unread 26-07-2008, 20:28
Aaron S's Avatar
Aaron S Aaron S is offline
Registered User
FRC #1612 (Robosharks)
Team Role: Programmer
 
Join Date: Jul 2008
Rookie Year: 2008
Location: United States
Posts: 11
Aaron S is an unknown quantity at this point
Send a message via AIM to Aaron S
Re: Use MPLAB to program your VEX robot -- FOR FREE!!

I've actually just gotten a chance to load the hex file onto a controller and it seems that it doesn't run once loaded. I put a PrintToScreen at the beginning of main and when I turned on the controller while it was tethered, I got nothing. To make sure it wasn't a problem with the way I was transferring the hex file I compiled the same thing in EasyC and loaded it onto the controller, which proved to work fine.

Can you think of anything that could be the problem? I followed the tutorial exactly and I get one warning in the compilation output about calling Tank4 before it was prototyped, but asides from that everything seems to be fine.

Oh and I'm using MPLAB v8.10 with MCC18 v2.4 if that helps.