I’m trying to use a small servo wire with the v5 brain three wire ports. I got it moving using the PWM function in the brain 3 wire port view. However im wondering if its possible to control it with PWM in PROs.
1 Like
Are these the old cortex motors? I wonder if this would be what you are looking for? ADI (TriPort) C++ API — PROS for V5 3.8.0 documentation If not, I would check out the ADI TriPort api, seems you can declare a generic device that way too.
3 Likes
You can use AnalogOut
. This class both incorrectly named and incorrectly documented (it claims to support 0-4095 12-bit output, it does not), but it will let you send an 8-bit PWM signal. Alternatively, you can use the motor class linked above if you’re just trying to drive an MC29. They both end up doing the same thing, just under a different name.
1 Like
Just curious, but how would one control the motor with vexide? https://docs.rs/vexide/latest/vexide/?search=pwm