PixelKey
NeoPixel USB Key
Loading...
Searching...
No Matches
keyframe_blink_t Struct Reference

Blink keyframe. More...

#include <keyframes.h>

Data Fields

keyframe_base_t base
 Keyframe base; MUST be the first entry in the struct.
 
struct {
   color_t   color1
 Color to blink during ON cycle.
 
   color_t   color2
 Color to blink during OFF cycle.
 
   float   period
 Number of seconds to blink over; max of 60 seconds.
 
   uint8_t   duty_cycle
 Blink duty cycle.
 
   bool   color1_provided
 Specifies if color1 was set during parsing.
 
   bool   color2_provided
 Specifies if color2 was set during parsing.
 
} args
 Parsed arguments.
 
struct {
   timestep_t   transition_time
 Time to transition from color1 to color2 for the current framerate.
 
   timestep_t   finish_time
 Time at which the keyframe has completed for the current framerate.
 
} state
 Keyframe render state.
 

Detailed Description

Blink keyframe.


The documentation for this struct was generated from the following file: