pub fn new_apda9151(i2c: I2C) -> Self {
        Apds9151 {
            i2c,
            address: DEV_ADDR,
        }
    }
/// Creates a new instance of the device
Creates a new instance of the device
Creates a new instance of the device
pub fn new_apda9151(i2c: I2C) -> Self {
        Apds9151 {
            i2c,
            address: DEV_ADDR,
        }
    }
pub fn new_apda9151 ( i2c : I2C ) -> Self { Apds9151 { i2c , address : DEV_ADDR , } }
Creates a new instance of the device
Creates a new instance of the device
i2c
I2C
i2c
I2C