resources/libtiny/Servo.cpp
//=============================================================================
// FUNCTION:    uint8_t attach(uint8_t pin, uint16_t min, uint16_t max)
//
// DESCRIPTION: Attaches a servo motor to an i/o pin on Port B and also sets
//              the minimum and maximum pulse length values for this servo.
//
// INPUT:       pin - which pin on portB to attach to
//              min - minimum pulse length to use
//              max - maximum pulse length to use
//
// RETURNS:
//
//=============================================================================
uint8_t attach(uint8_t pin, uint16_t min, uint16_t max)
DESCRIPTION: Attaches a servo motor to an i/o pin on Port B and also sets
the minimum and maximum pulse length values for this servo.

which pin on portB to attach to
min - minimum pulse length to use
max - maximum pulse length to use


uint8_t attach ( uint8_t pin uint16_t min uint16_t max ) DESCRIPTION : Attaches a servo motor to an i / o pin on Port B and also sets the minimum and maximum pulse length values for this servo . which pin on portB to attach to min - minimum pulse length to use max - maximum pulse length to use
uint8_t Servo::attach(uint8_t pin, uint16_t newMin, uint16_t newMax)
{
    min = newMin;
    max = newMax;
    return attach(pin);
}
uint8_t Servo :: attach ( uint8_t pin , uint16_t newMin , uint16_t newMax ) { min = newMin ; max = newMax ; return attach ( pin ) ; }
FUNCTION:    uint8_t attach(uint8_t pin, uint16_t min, uint16_t max)
DESCRIPTION: Attaches a servo motor to an i/o pin on Port B and also sets
the minimum and maximum pulse length values for this servo.
FUNCTION : uint8_t attach ( uint8_t pin uint16_t min uint16_t max ) DESCRIPTION : Attaches a servo motor to an i / o pin on Port B and also sets the minimum and maximum pulse length values for this servo .