/// <summary> /// Gets the integration time of the sensor. /// </summary> public RgbColorSensorIntegrationTime GetIntegrationTime() { byte control = Read8(REGISTER_ATIME); RgbColorSensorIntegrationTime result = (RgbColorSensorIntegrationTime)control; return(result); }
/// <summary> /// Sets the integration time of the sensor. /// </summary> public void SetIntegrationTime(RgbColorSensorIntegrationTime value) { _integrationTime = value; Write8(REGISTER_ATIME, (byte)value); }