Keyframe to set a NeoPixel to a constant color.
More...
Keyframe to set a NeoPixel to a constant color.
◆ keyframe_set_ctor()
Initialize a Set keyframe with the appropriate keyframe_base_t values.
- Parameters
-
| [in] | p_set | Pointer to the set keyframe to construct, or NULL to allocate a new one. |
- Returns
- Pointer to the keyframe base portion of the set keyframe.
◆ keyframe_set_parse()
| keyframe_base_t * keyframe_set_parse |
( |
char * |
p_str | ) |
|
Parses a command string into a Set Keyframe.
- Parameters
-
| [in] | p_str | Pointer to the command string. |
- Returns
- Pointer to the parsed keyframe or NULL on error.
◆ keyframe_set_api
Initial value:=
{
.render_frame = keyframe_set_render_frame,
.render_init = keyframe_set_render_init,
.clone = keyframe_set_clone,
}
◆ keyframe_set_init
Initial value:=
{
.base = { .p_api = &keyframe_set_api },
}