|
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?
|