How to program the digital side car

With the default program, we are able to use PWM 1-4, but for some reason 5-10 don’t work. We know the motors work, so we think it’s the program and so I’d like to know how it is you program a DSC or incorporate it into the program?

The Digital Sidecar produces PWM signals for motor speed controllers and servos. It also produces signals to control Spike relay modules. It also has general-purpose digital inputs and outputs for things like limit switches, optical sensors, quadrature encoders, I2C and SPI communication, etc. “How to program” it is much too general a question to get a simple answer in a forum post. Ask a more specific question instead, like “How do I keep an arm motor from running too far and breaking something?” or “How do I maintain a motor at a constant speed?”

The default program only has PWMs 1-4 defined, as the four drive motors. What are you trying to control on the other PWMs, and how do you have them connected? How have you modified the program to use them?

The general style for adding a motor controlled by a PWM output involves Opening it in Begin.vi and using it in Teleop.vi and sometimes other places.
Did you do these things?

Here’s a simple example: