New Code not working

We started off the season with a 2 motor drivetrain. We recently added 2 more drive motors (with 2 other motors for catapult and intake) and one of the original motors is not working since the new code was downloaded. The lights are red, so it is not a wiring/motor issue. It would be nice if someone responded, because we have 10 days until regionals.

Please show your code so we can see what’s happening. Use triple backticks “```” before and after code to format it. As for solutions, make sure the ports are correct and check if you’re powering all of them in your movement functions.

Please post your code so we can look at it.

I would say either the motor is just bad which you can test by spinning the axle and see if it spins. Also spinning the axle you will be able to determine if it is in the motor. So if the axle is in the motor and spins just fine when you spin it by hand it must be a wrong port or something you missed in the code.

Here are some suggestions. Try checking if the ports that you coded in are the same and are not different. Another way to check is to go into the devices and to check the port and turn them on. It can be code or a physical problem.

I recommend adding your code to this comment, you will likely receive better feedback that way.