Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adafruit/Adafruit_TCS34725
/ functions
Functions
20 in github.com/adafruit/Adafruit_TCS34725
⨍
Functions
20
◇
Types & classes
1
↓ 2 callers
Function
powf
! * @brief Implements missing powf function * @param x * Base number * @param y * Exponent * @return x raised to the po
Adafruit_TCS34725.cpp:42
↓ 1 callers
Method
begin
! * @brief Initializes I2C and configures the sensor * @param addr * i2c address * @param *theWire * The Wire object *
Adafruit_TCS34725.cpp:126
Method
Adafruit_TCS34725
! * @brief Constructor * @param it * Integration Time * @param gain * Gain */
Adafruit_TCS34725.cpp:112
Method
calculateColorTemperature
! * @brief Converts the raw R/G/B values to color temperature in degrees Kelvin * @param r * Red value * @param g * Green
Adafruit_TCS34725.cpp:275
Method
calculateColorTemperature_dn40
! * @brief Converts the raw R/G/B values to color temperature in degrees * Kelvin using the algorithm described in DN40 from Taos (now AM
Adafruit_TCS34725.cpp:322
Method
calculateLux
! * @brief Converts the raw R/G/B values to lux * @param r * Red value * @param g * Green value * @param b *
Adafruit_TCS34725.cpp:412
Method
clearInterrupt
! * @brief Clears inerrupt for TCS34725 */
Adafruit_TCS34725.cpp:440
Method
disable
! * @brief Disables the device (putting it in lower power sleep mode) */
Adafruit_TCS34725.cpp:98
Method
enable
! * @brief Enables the device */
Adafruit_TCS34725.cpp:81
Method
getRGB
! * @brief Read the RGB color detected by the sensor. * @param *r * Red value normalized to 0-255 * @param *g * Green val
Adafruit_TCS34725.cpp:249
Method
getRawData
! * @brief Reads the raw red, green, blue and clear channel values * @param *r * Red value * @param *g * Green value *
Adafruit_TCS34725.cpp:202
Method
getRawDataOneShot
! * @brief Reads the raw red, green, blue and clear channel values in * one-shot mode (e.g., wakes from sleep, takes measurement, enters
Adafruit_TCS34725.cpp:230
Method
init
! * @brief Part of begin * @return True if initialization was successful, otherwise false. */
Adafruit_TCS34725.cpp:138
Method
read16
! * @brief Reads a 16 bit values over I2C * @param reg * @return value */
Adafruit_TCS34725.cpp:72
Method
read8
! * @brief Reads an 8 bit value over I2C * @param reg * @return value */
Adafruit_TCS34725.cpp:61
Method
setGain
! * @brief Adjusts the gain on the TCS34725 * @param gain * Gain (sensitivity to light) */
Adafruit_TCS34725.cpp:180
Method
setIntLimits
! * @brief Sets inerrupt limits * @param low * Low limit * @param high * High limit */
Adafruit_TCS34725.cpp:452
Method
setIntegrationTime
! * @brief Sets the integration time for the TC34725 * @param it * Integration Time */
Adafruit_TCS34725.cpp:164
Method
setInterrupt
! * @brief Sets interrupt for TCS34725 * @param i * Interrupt (True/False) */
Adafruit_TCS34725.cpp:427
Method
write8
! * @brief Writes a register and an 8 bit value over I2C * @param reg * @param value */
Adafruit_TCS34725.cpp:51