Color Control Server#
Callbacks for Color Control Server Component.
Callbacks#
void
emberAfPluginColorControlServerComputePwmFromHsvCallback(uint8_t endpoint)
Compute PWM from HSV.
void
emberAfPluginColorControlServerComputePwmFromXyCallback(uint8_t endpoint)
Compute PWM from HSV.
void
emberAfPluginColorControlServerComputePwmFromTempCallback(uint8_t endpoint)
Compute PWM from HSV.
Callbacks Documentation#
emberAfPluginColorControlServerComputePwmFromHsvCallback#
void emberAfPluginColorControlServerComputePwmFromHsvCallback (uint8_t endpoint)
Compute PWM from HSV.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | endpoint | The identifying endpoint Ver.: always |
This function is called from the color server when the PWMs need to be driven with a new value from the HSV values.
emberAfPluginColorControlServerComputePwmFromXyCallback#
void emberAfPluginColorControlServerComputePwmFromXyCallback (uint8_t endpoint)
Compute PWM from HSV.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | endpoint | The identifying endpoint Ver.: always |
This function is called from the color server when the PWMs need to be driven with a new value from the color X and color Y values.
emberAfPluginColorControlServerComputePwmFromTempCallback#
void emberAfPluginColorControlServerComputePwmFromTempCallback (uint8_t endpoint)
Compute PWM from HSV.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | endpoint | The identifying endpoint Ver.: always |
This function is called from the color server when the PWMs need to be driven with a new value from the color temperature.