src/APDS9930.cpp
bool APDS9930::enablePower()
{
    if( !setMode(POWER, 1) ) {
        return false;
    }
    
    return true;
}
/**
 * Turn the APDS-9930 on
 *
 * @return True if operation successful. False otherwise.
 */
Turn the APDS-9930 on
@return True if operation successful. False otherwise.
Turn the APDS - 9930 on @return True if operation successful . False otherwise .
bool APDS9930::enablePower()
{
    if( !setMode(POWER, 1) ) {
        return false;
    }
    return true;
}
bool APDS9930 :: enablePower ( ) { if ( ! setMode ( POWER , 1 ) ) { return false ; } return true ; }
Turn the APDS-9930 on
 @return True if operation successful.
Turn the APDS - 9930 on @return True if operation successful .