Remote Control problems
Page 1 of 1

Author:  dstrunk [ Fri Nov 29, 2013 6:41 pm ]
Post subject:  Remote Control problems

I have a Logitech Gamepad F310 to program the LegoNXT Mindstorm robot. I set up and tested the pad and it appears that all the buttons work on the lap top.

When I download the sample program MotorC works with the y1 button.(the knob on the left)

MotorB doesn't run at all. MotorB runs with buttons 7 & 8 (bottom buttons on the front of the controller) on the front of the game controller if I add the x1&2 The y2 button (knob on the right) doesn't work at all. (It works on the computer check.)

When I download the sample program, only the MotorC works. When I add the same code and change y1&2 to x1&2 I can use the left knob and buttons 7&8 to run the robot. Is there a way to get the right knob to run at the same time as the left knob? Thanks for your help,

[code][/code]#include "JoystickDriver.c"

task main()
while(1 == 1)
motor[motorB] = joystick.joy1_y1;
motor[motorC] = joystick.joy1_y2;

motor[motorB] = joystick.joy1_x1;
motor[motorC] = joystick.joy1_x2;



Author:  MHTS [ Fri Nov 29, 2013 8:56 pm ]
Post subject:  Re: Remote Control problems

Please post the code that you have problems with. The code you posted doesn't look like what you had described.

Author:  Ernest3.14 [ Fri Nov 29, 2013 10:17 pm ]
Post subject:  Re: Remote Control problems

Also, check the switch on the back. Make sure it's set to "D" and not "X".

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group