# Setting Disarmed PWM

**URL:** <https://discuss.bluerobotics.com/t/setting-disarmed-pwm/8720>\
**Category:** ArduSub\
**Tags:** ardusub\
**Created:** [December 10, 2020, 3:03pm UTC](https://discuss.bluerobotics.com/t/setting-disarmed-pwm/8720 "2020-12-10T15:03:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ben.ayres2](https://avatars.discourse-cdn.com/v4/letter/b/9f8e36/32.png) [@ben.ayres2](https://discuss.bluerobotics.com/u/ben.ayres2)\
**Post date:** [December 10, 2020, 3:03pm UTC](https://discuss.bluerobotics.com/t/setting-disarmed-pwm/8720/1 "2020-12-10T15:03:16Z")

</div>

Hi

We’re building an ROV based largely on the BlueROV2. It does not use BlueROV ESCs or thrusters however. For our setup, we need to edit the PWM whilst disarmed, e.g. from 1500 to 1450.

We have tried parameters including SERVO TRIM, adjusting MIN / MAX and various others. Whatever we changed, following reboots, it simply outputs 1500 for all channels 1-6. 7 & 8 work correctly for the camera servos.

Can anyone point us in the right direction?

Thanks

---

<div class="post-metadata">

**Author:** ![patrickelectric](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/patrickelectric/32/2162_2.png) [@patrickelectric](https://discuss.bluerobotics.com/u/patrickelectric)\
**Post date:** [December 14, 2020, 4:21pm UTC](https://discuss.bluerobotics.com/t/setting-disarmed-pwm/8720/2 "2020-12-14T16:21:08Z")

</div>

Hi @ben.ayres2,

You’ll need to recompile ArduSub and change the hardcoded 1500 value around the coder for the motor output.

> <https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_Motors/AP_Motors6DOF.cpp>
