
Sample Joystick 2 Code not functioning
Hello all, I am very new to RobotC and trying to learn this launguage before the FRC compition. I have but a few weeks to understand how the functions work and how I can program this robot using the RobotC launguage.
After pairing my NXT brick and computer via bluetooth, I installed the drivers for the Logitech controler. I then tested the controler in the "Control Panel" and in the "Debug" window in RobotC.
I was able to get feedback from the controls. I then opened the sample program file and proceeded to download it to the device.
Nothing... I coun't get the robot to react to the controls. Is there something that I was missing??
The Code is as follows: