src/APDS9930.cpp
bool APDS9930::disableProximitySensor()
{
	if( !setProximityIntEnable(0) ) {
		return false;
	}
	if( !setMode(PROXIMITY, 0) ) {
		return false;
	}

	return true;
}
/**
 * @brief Ends the proximity sensor on the APDS-9930
 *
 * @return True if sensor disabled correctly. False on error.
 */
@brief Ends the proximity sensor on the APDS-9930
@return True if sensor disabled correctly. False on error.
@brief Ends the proximity sensor on the APDS - 9930 @return True if sensor disabled correctly . False on error .
bool APDS9930::disableProximitySensor()
{
	if( !setProximityIntEnable(0) ) {
		return false;
	}
	if( !setMode(PROXIMITY, 0) ) {
		return false;
	}
	return true;
}
bool APDS9930 :: disableProximitySensor ( ) { if ( ! setProximityIntEnable ( 0 ) ) { return false ; } if ( ! setMode ( PROXIMITY , 0 ) ) { return false ; } return true ; }
@brief Ends the proximity sensor on the APDS-9930
 @return True if sensor disabled correctly.
@brief Ends the proximity sensor on the APDS - 9930 @return True if sensor disabled correctly .