|
Re: Simple code not functioning correctly
I don't think it would cause the problem you report, but there's a name mismatch in your code. You renamed the "Joystick 1" and "Left and Right Motors" references in Begin and in Teleop, but you didn't track down and fix (or remove) the references in Periodic Tasks.
That would give a one-time error on the Driver Station diagnostic messages display, but it shouldn't keep your motor controllers from working.
If the example project doesn't work, the trouble is usually with the wiring. But since you say a java program functioned properly, the cause is mysterious. Are you sure you didn't correct a power problem in the meantime?
|