src/APDS9930.cpp
bool APDS9930::wireWriteByte(uint8_t val)
{
    Wire.beginTransmission(APDS9930_I2C_ADDR);
    Wire.write(val);
    if( Wire.endTransmission() != 0 ) {
        return false;
    }
    
    return true;
}
/**
 * @brief Writes a single byte to the I2C device (no register)
 *
 * @param[in] val the 1-byte value to write to the I2C device
 * @return True if successful write operation. False otherwise.
 */
@brief Writes a single byte to the I2C device (no register)
@param[in] val the 1-byte value to write to the I2C device
@return True if successful write operation. False otherwise.
@brief Writes a single byte to the I2C device ( no register ) @param [ in ] val the 1 - byte value to write to the I2C device @return True if successful write operation . False otherwise .
bool APDS9930::wireWriteByte(uint8_t val)
{
    Wire.beginTransmission(APDS9930_I2C_ADDR);
    Wire.write(val);
    if( Wire.endTransmission() != 0 ) {
        return false;
    }
    return true;
}
bool APDS9930 :: wireWriteByte ( uint8_t val ) { Wire . beginTransmission ( APDS9930_I2C_ADDR ) ; Wire . write ( val ) ; if ( Wire . endTransmission ( ) != 0 ) { return false ; } return true ; }
@brief Writes a single byte to the I2C device (no register)
 @param[in] val the 1-byte value to write to the I2C device
 @return True if successful write operation.
@brief Writes a single byte to the I2C device ( no register ) @param [ in ] val the 1 - byte value to write to the I2C device @return True if successful write operation .