rpr_server sample
lightbulb_rgb2hsv()
is only used within rpr_server sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
rpr_server sample
lightbulb_rgb2hsv()
lightbulb_rgb2hsv() function
Convert RGB model to HSV model
Syntax
Show:
Summary
Declaration
Definition
from
lightbulb.h:439
esp_err_t
lightbulb_rgb2hsv
(
uint16_t
red
,
uint16_t
green
,
uint16_t
blue
,
uint16_t
*
hue
,
uint8_t
*
saturation
,
uint8_t
*
value
)
;
Implemented in
lightbulb.c:815
Arguments
Argument
Description
red
range: 0-255
green
range: 0-255
blue
range: 0-255
hue
range: 0-360
saturation
range: 0-100
value
range: 0-100
Return value
esp_err_t
Notes
RGB model color depth is 8 bit
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out