src/APDS9930.cpp
bool APDS9930::disableLightSensor()
{
    if( !setAmbientLightIntEnable(0) ) {
        return false;
    }
    if( !setMode(AMBIENT_LIGHT, 0) ) {
        return false;
    }
    
    return true;
}
/**
 * @brief Ends the light sensor on the APDS-9930
 *
 * @return True if sensor disabled correctly. False on error.
 */
@brief Ends the light sensor on the APDS-9930
@return True if sensor disabled correctly. False on error.
@brief Ends the light sensor on the APDS - 9930 @return True if sensor disabled correctly . False on error .
bool APDS9930::disableLightSensor()
{
    if( !setAmbientLightIntEnable(0) ) {
        return false;
    }
    if( !setMode(AMBIENT_LIGHT, 0) ) {
        return false;
    }
    return true;
}
bool APDS9930 :: disableLightSensor ( ) { if ( ! setAmbientLightIntEnable ( 0 ) ) { return false ; } if ( ! setMode ( AMBIENT_LIGHT , 0 ) ) { return false ; } return true ; }
@brief Ends the light sensor on the APDS-9930
 @return True if sensor disabled correctly.
@brief Ends the light sensor on the APDS - 9930 @return True if sensor disabled correctly .