View Single Post
  #13   Spotlight this post!  
Unread 24-10-2003, 20:35
Dave... Dave... is offline
Registered User
#0005 (Robocards)
 
Join Date: Aug 2001
Location: AFL/MHS Melvindale, MI
Posts: 64
Dave... will become famous soon enough
Quote:
Originally posted by AsimC
yea..i added my custom code to it..and it just sits there and does nothing...does it have to do w/ me still using Windows 98?..or does that not have any effect?
After updating your code, you need to 'Make' your new code (F10 is the shortcut). MPLAB will show you the progress and create a new *.hex file. Use the IFI loader to connect to the robot and download your new *.hex file. If you saw this happen, then your OS is working and something else is wrong (maybe below).

Quote:
Originally posted by AsimC
basically what i did was....i connected 2 multi-speed motors on pwm1 and pwm2 OUT...and in the code im telling it to go full forward (pwm01=254;..etc) and nothin happens. Any advice?
WHERE you put the above statement is important. Try at the very end of the "user_routines.c", or at least after the last "pwm1 = " statement in the default code. Otherwise, your statement for pwm1 will be overwritten.

Good luck.
__________________
"...don't worry about that mechanical problem, Dave can fix it in the programming..."