pub fn new<A: Into<Address>>(i2c: I2C, address: A) -> Result<Self, Error<E>> {
        let a = address.into();

        Self::check_address(a.0)?;

        Ok(Pca9685 {
            i2c,
            address: a.0,
            config: Config::default(),
        })
    }
/// Create a new instance of the device.
Create a new instance of the device.
Create a new instance of the device .
pub fn new<A: Into<Address>>(i2c: I2C, address: A) -> Result<Self, Error<E>> {
        let a = address.into();
        Self::check_address(a.0)?;
        Ok(Pca9685 {
            i2c,
            address: a.0,
            config: Config::default(),
        })
    }
pub fn new < A : Into < Address > > ( i2c : I2C , address : A ) -> Result < Self , Error < E > > { let a = address . into ( ) ; Self :: check_address ( a . 0 ) ? ; Ok ( Pca9685 { i2c , address : a . 0 , config : Config :: default ( ) , } ) }
Create a new instance of the device.
Create a new instance of the device .
i2c
I2C
address
A
i2c
I2C
address
A