Quote:
Originally Posted by SeanPerez
When i open the robot code folder i notice that there are many files, what do i change to configure how i use the joystics to operate the victors and which do i upload?
|
If you add this code to Teleop in teleop.c it should implement a basic tank drive:
Code:
pwm01 = p1_y; //Set PWM#1 to the value of the Y axis of joystick 1
pwm02 = p2_y;//Set PWM#2 to the value of the Y axis of joystick 2
Once you build there should be an "ifi_frc.hex" file in the directory with all of the files. Select that in IFILoader.