//Method to write the integration time value to the ATIME register private async void setIntegrationTime(eTCS34725IntegrationTime integrationTime) { if (!Init) { await begin(); } _tcs34725IntegrationTime = integrationTime; byte[] WriteBuffer = new byte[] { TCS34725_ATIME | TCS34725_COMMAND_BIT, (byte)_tcs34725IntegrationTime }; colorSensor.Write(WriteBuffer); }
//Method to write the integration time value to the ATIME register private async void setIntegrationTime(eTCS34725IntegrationTime integrationTime) { }
//Method to write the integration time value to the ATIME register private async void setIntegrationTime(eTCS34725IntegrationTime integrationTime) { if (!Init) await begin(); _tcs34725IntegrationTime = integrationTime; byte[] WriteBuffer = new byte[] { TCS34725_ATIME | TCS34725_COMMAND_BIT, (byte)_tcs34725IntegrationTime }; colorSensor.Write(WriteBuffer); }