MCPcopy Create free account

hub / github.com/adafruit/Adafruit_TCS34725 / functions

Functions20 in github.com/adafruit/Adafruit_TCS34725

↓ 2 callersFunctionpowf
! * @brief Implements missing powf function * @param x * Base number * @param y * Exponent * @return x raised to the po
Adafruit_TCS34725.cpp:42
↓ 1 callersMethodbegin
! * @brief Initializes I2C and configures the sensor * @param addr * i2c address * @param *theWire * The Wire object *
Adafruit_TCS34725.cpp:126
MethodAdafruit_TCS34725
! * @brief Constructor * @param it * Integration Time * @param gain * Gain */
Adafruit_TCS34725.cpp:112
MethodcalculateColorTemperature
! * @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
MethodcalculateColorTemperature_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
MethodcalculateLux
! * @brief Converts the raw R/G/B values to lux * @param r * Red value * @param g * Green value * @param b *
Adafruit_TCS34725.cpp:412
MethodclearInterrupt
! * @brief Clears inerrupt for TCS34725 */
Adafruit_TCS34725.cpp:440
Methoddisable
! * @brief Disables the device (putting it in lower power sleep mode) */
Adafruit_TCS34725.cpp:98
Methodenable
! * @brief Enables the device */
Adafruit_TCS34725.cpp:81
MethodgetRGB
! * @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
MethodgetRawData
! * @brief Reads the raw red, green, blue and clear channel values * @param *r * Red value * @param *g * Green value *
Adafruit_TCS34725.cpp:202
MethodgetRawDataOneShot
! * @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
Methodinit
! * @brief Part of begin * @return True if initialization was successful, otherwise false. */
Adafruit_TCS34725.cpp:138
Methodread16
! * @brief Reads a 16 bit values over I2C * @param reg * @return value */
Adafruit_TCS34725.cpp:72
Methodread8
! * @brief Reads an 8 bit value over I2C * @param reg * @return value */
Adafruit_TCS34725.cpp:61
MethodsetGain
! * @brief Adjusts the gain on the TCS34725 * @param gain * Gain (sensitivity to light) */
Adafruit_TCS34725.cpp:180
MethodsetIntLimits
! * @brief Sets inerrupt limits * @param low * Low limit * @param high * High limit */
Adafruit_TCS34725.cpp:452
MethodsetIntegrationTime
! * @brief Sets the integration time for the TC34725 * @param it * Integration Time */
Adafruit_TCS34725.cpp:164
MethodsetInterrupt
! * @brief Sets interrupt for TCS34725 * @param i * Interrupt (True/False) */
Adafruit_TCS34725.cpp:427
Methodwrite8
! * @brief Writes a register and an 8 bit value over I2C * @param reg * @param value */
Adafruit_TCS34725.cpp:51