pic32/libraries/SoftPWMServo/SoftPWMServo.cpp
/*
 * Write a new pulse width down to the SoftPWMServo code
 * This will turn on (enable) a pin for Servo output if it's not already 
 * turned on.
 */
Write a new pulse width down to the SoftPWMServo code
This will turn on (enable) a pin for Servo output if it's not already
turned on.
Write a new pulse width down to the SoftPWMServo code This will turn on ( enable ) a pin for Servo output if it ' s not already turned on .
void SoftServo::writeMicroseconds(int value)
{
    if ( value < this->min )          
        value = this->min;
    else if ( value > this->max )
        value = this->max;
    SoftPWMServoServoWrite(this->pin, value);
}
void SoftServo :: writeMicroseconds ( int value ) { if ( value < this -> min ) value = this -> min ; else if ( value > this -> max ) value = this -> max ; SoftPWMServoServoWrite ( this -> pin , value ) ; }
Write a new pulse width down to the SoftPWMServo code
 This will turn on (enable) a pin for Servo output if it's not already
 turned on.
Write a new pulse width down to the SoftPWMServo code This will turn on ( enable ) a pin for Servo output if it ' s not already turned on .
// ensure pulse width is valid