//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);
 }
Exemplo n.º 2
0
 //Method to write the integration time value to the ATIME register
 private async void setIntegrationTime(eTCS34725IntegrationTime integrationTime)
 {
 }
Exemplo n.º 3
0
 //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);
 }
Exemplo n.º 4
0
        //Method to write the integration time value to the ATIME register
        private async void setIntegrationTime(eTCS34725IntegrationTime integrationTime)
        {

        }