color3 2.0.0.0

Topics

 MikroBUS
 
 Error Code
 
 I2C slave address
 
 Register addresses
 
 Enable register values
 
 RGBC Timing register values
 
 Proximity pulse counter values
 
 Proximity Timing register values
 
 Threshold values
 
 Persistence filtering values
 
 Long wait value
 
 RGBC Gain Control
 
 _select Proximity Diode Select
 
 LED Drive Strength
 

Macros

#define COLOR3_UNKNOWN_COLOR   0
 Color 3 color flags.
 
#define COLOR3_RED_COLOR   1
 
#define COLOR3_YELLOW_COLOR   2
 
#define COLOR3_GREEN_COLOR   3
 
#define COLOR3_CYAN_COLOR   4
 
#define COLOR3_BLUE_COLOR   5
 
#define COLOR3_MAGENTA_COLOR   6
 
#define COLOR3_WHITE_COLOR   7
 
#define COLOR3_BLACK_COLOR   8
 
#define COLOR3_WHITE_COLOR_LIGHTNESS   97
 Color 3 color from HSL thresholds.
 
#define COLOR3_BLACK_COLOR_LIGHTNESS   3
 
#define COLOR3_YELLOW_COLOR_HUE_ANGLE   30
 
#define COLOR3_GREEN_COLOR_HUE_ANGLE   90
 
#define COLOR3_CYAN_COLOR_HUE_ANGLE   150
 
#define COLOR3_BLUE_COLOR_HUE_ANGLE   210
 
#define COLOR3_MAGENTA_COLOR_HUE_ANGLE   270
 
#define COLOR3_RED_COLOR_HUE_ANGLE   330
 
#define COLOR3_HSL_HUE_RESOLUTION   360
 Color 3 RGB to HSL calculation values.
 
#define COLOR3_HSL_SATURATION_RESOLUTION   100
 
#define COLOR3_HSL_LIGHTNESS_RESOLUTION   100
 

Detailed Description

Any initialization code needed for MCU to function properly. Do not remove this line or clock might not be set correctly.

Macro Definition Documentation

◆ COLOR3_BLACK_COLOR

#define COLOR3_BLACK_COLOR   8

◆ COLOR3_BLACK_COLOR_LIGHTNESS

#define COLOR3_BLACK_COLOR_LIGHTNESS   3

◆ COLOR3_BLUE_COLOR

#define COLOR3_BLUE_COLOR   5

◆ COLOR3_BLUE_COLOR_HUE_ANGLE

#define COLOR3_BLUE_COLOR_HUE_ANGLE   210

◆ COLOR3_CYAN_COLOR

#define COLOR3_CYAN_COLOR   4

◆ COLOR3_CYAN_COLOR_HUE_ANGLE

#define COLOR3_CYAN_COLOR_HUE_ANGLE   150

◆ COLOR3_GREEN_COLOR

#define COLOR3_GREEN_COLOR   3

◆ COLOR3_GREEN_COLOR_HUE_ANGLE

#define COLOR3_GREEN_COLOR_HUE_ANGLE   90

◆ COLOR3_HSL_HUE_RESOLUTION

#define COLOR3_HSL_HUE_RESOLUTION   360

Color 3 RGB to HSL calculation values.

Specified RGB to HSL calculation values of Color 3 Click driver.

◆ COLOR3_HSL_LIGHTNESS_RESOLUTION

#define COLOR3_HSL_LIGHTNESS_RESOLUTION   100

◆ COLOR3_HSL_SATURATION_RESOLUTION

#define COLOR3_HSL_SATURATION_RESOLUTION   100

◆ COLOR3_MAGENTA_COLOR

#define COLOR3_MAGENTA_COLOR   6

◆ COLOR3_MAGENTA_COLOR_HUE_ANGLE

#define COLOR3_MAGENTA_COLOR_HUE_ANGLE   270

◆ COLOR3_RED_COLOR

#define COLOR3_RED_COLOR   1

◆ COLOR3_RED_COLOR_HUE_ANGLE

#define COLOR3_RED_COLOR_HUE_ANGLE   330

◆ COLOR3_UNKNOWN_COLOR

#define COLOR3_UNKNOWN_COLOR   0

Color 3 color flags.

Specified color flags of Color 3 Click driver.

◆ COLOR3_WHITE_COLOR

#define COLOR3_WHITE_COLOR   7

◆ COLOR3_WHITE_COLOR_LIGHTNESS

#define COLOR3_WHITE_COLOR_LIGHTNESS   97

Color 3 color from HSL thresholds.

Specified color from HSL thresholds of Color 3 Click driver.

◆ COLOR3_YELLOW_COLOR

#define COLOR3_YELLOW_COLOR   2

◆ COLOR3_YELLOW_COLOR_HUE_ANGLE

#define COLOR3_YELLOW_COLOR_HUE_ANGLE   30