Servo Declaration

I’m programming in a C++ timed template and am trying to figure out how to declare a servo motor. I need to know the include to use if there is one and the declaration type for servos.

This is the motor that I’m using and have determined it to use servo since it is plugged in the PWM.

That doesn’t look like a servo. What motor controller are you using with it?

I recommend giving the docs a read: Using Motor Controllers in Code — FIRST Robotics Competition documentation.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.