Lib

Dependents:   ProjetLong_Serre_V3 ProjetLong_Serre_V3_1 AgroTech

Embed: (wiki syntax)

« Back to documentation index

Adafruit_TCS34725.h File Reference

Adafruit_TCS34725.h File Reference

Go to the source code of this file.

Enumerations

enum  tcs34725IntegrationTime_t {
  TCS34725_INTEGRATIONTIME_2_4MS = 0xFF, TCS34725_INTEGRATIONTIME_24MS = 0xF6, TCS34725_INTEGRATIONTIME_50MS = 0xEB, TCS34725_INTEGRATIONTIME_101MS = 0xD5,
  TCS34725_INTEGRATIONTIME_154MS = 0xC0, TCS34725_INTEGRATIONTIME_700MS = 0x00
}
enum  tcs34725Gain_t { TCS34725_GAIN_1X = 0x00, TCS34725_GAIN_4X = 0x01, TCS34725_GAIN_16X = 0x02, TCS34725_GAIN_60X = 0x03 }

Detailed Description

Author:
KTOWN (Adafruit Industries)

LICENSE

Software License Agreement (BSD License)

Copyright (c) 2013, Adafruit Industries All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file Adafruit_TCS34725.h.


Enumeration Type Documentation

Enumerator:
TCS34725_GAIN_1X 

No gain.

TCS34725_GAIN_4X 

2x gain

TCS34725_GAIN_16X 

16x gain

TCS34725_GAIN_60X 

60x gain

Definition at line 103 of file Adafruit_TCS34725.h.

Enumerator:
TCS34725_INTEGRATIONTIME_2_4MS 

2.4ms - 1 cycle - Max Count: 1024

TCS34725_INTEGRATIONTIME_24MS 

24ms - 10 cycles - Max Count: 10240

TCS34725_INTEGRATIONTIME_50MS 

50ms - 20 cycles - Max Count: 20480

TCS34725_INTEGRATIONTIME_101MS 

101ms - 42 cycles - Max Count: 43008

TCS34725_INTEGRATIONTIME_154MS 

154ms - 64 cycles - Max Count: 65535

TCS34725_INTEGRATIONTIME_700MS 

700ms - 256 cycles - Max Count: 65535

Definition at line 92 of file Adafruit_TCS34725.h.