pic32/libraries/SoftPWMServo/SoftPWMServo.cpp
// Value is a float, in us. and represents the on-time for this servo pin
// Pin is the pin number being changed
Value is a float, in us. and represents the on-time for this servo pin
Pin is the pin number being changed
Value is a float in us . and represents the on - time for this servo pin Pin is the pin number being changed
int32_t SoftPWMServoServoWrite(uint32_t Pin, float Value)
{
    if (Pin >= SOFTPWMSERVO_MAX_PINS)
    {
        return SOFTPWMSERVO_ERROR;
    }
    SoftPWMServoRawWrite(Pin, usToTicks(Value), SOFTPWMSERVO_SERVO);
    return SOFTPWMSERVO_OK;
}
int32_t SoftPWMServoServoWrite ( uint32_t Pin , float Value ) { if ( Pin >= SOFTPWMSERVO_MAX_PINS ) { return SOFTPWMSERVO_ERROR ; } SoftPWMServoRawWrite ( Pin , usToTicks ( Value ) , SOFTPWMSERVO_SERVO ) ; return SOFTPWMSERVO_OK ; }
Value is a float, in us.
Value is a float in us .