Go to Post Every thing is a hammer except for the screw driver which is a chisel. - BradL [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-01-2008, 19:15
PlaidPillagers's Avatar
PlaidPillagers PlaidPillagers is offline
Registered User
FRC #2538 (Plaid Pillagers)
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Morris, Minnesota
Posts: 29
PlaidPillagers is an unknown quantity at this point
Possible MPLab or Equiptment Problems?

Hi,

So, the default code works (the pre-compiled HEX file that came with the default code) the way it's supposed to: joystick forward, robot forward. Joystick backwards, robot backwards. Joystick Right/Left: robot turns right/left.

Then, after any change in the programming, after compiling with MPLab and downloading with IFI_Loader, the robot controls become screwy. Joystick forward: robot turns right. Joystick right: robot goes forward.

This isn't a problem with the code, as I can put just a single small change (changing a variable name) in the code and this will happen. Does anyone know if this is a compiler/compiler settings problem, or an equipment problem, or something completely different?
  #2   Spotlight this post!  
Unread 23-01-2008, 20:10
psy_wombats's Avatar
psy_wombats psy_wombats is offline
Registered User
AKA: A. King
FRC #0467 (Duct Tape Bandits)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Shrewsbury MA
Posts: 95
psy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura about
Re: Possible MPLab or Equiptment Problems?

Have you tried recompiling the code without making any changes and then downloading? (Although there shouldn't be any changes between the default hex and the default code... Should there?)
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MPlab giving problems?(or it's us?) Bomberofdoom Programming 2 11-01-2007 10:28
Array Problems: Possible<stdio.h> Alex Wijtowych Programming 7 26-01-2005 04:39
Problems with MPLAB Charley Programming 20 25-02-2004 18:13
Possible Robot controller problems mpalermo81 Technical Discussion 1 24-02-2004 22:43
Im Having Problems With Mplab!!!! hedgehogger Programming 2 20-01-2004 17:43


All times are GMT -5. The time now is 23:10.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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