This past Saturday our robot came to life when we swithched it on for the first time. We all thought it was great but there was one problem it worked with two joysticks and we only want to use one. Its working on PWM’s 1 and 2 and 13-16 PWM’s dont work. Any suggestions on how to get it to work with one joystick?
Is your robot 2WD, 4WD, 6WD?
If you’re using the default software with camera support, notice that the comments do not accurately describe the code itself. The pwm outputs for single joystick control are on pwm11 and pwm12. (I might be misremembering, so check it out for yourself.)
we are using 2WD
Which version of the FRC code are you currently using? If it is the version without the camera mode then idealy a problem should not occur (unless its some faulty wiring).
If you are using the version with the camera operation code, then I would recommend you first try out the non-camera mode, then after you are certain of your basic wiring/assembly, you can move on to the higher stuff.
The non-camera default code is driven by one joystick, and you should use PWM 13 (for right drive motor) and 15 (for left drive motor), as you said you have 2 wheel drive.
Please PM me if you need detailed assistance