Frame
public struct Frame
                Color and time duration for frame.
- 
                  
                  
Color of the LED.
Declaration
Swift
public let color: Color - 
                  
                  
Duration for the color to be shown.
Declaration
Swift
public let durationMs: UInt32 - 
                  
                  
Initialize an LED pattern frame.
Declaration
Swift
public init(color: Color, durationMs: Int)Parameters
colorThe color to display for this frame.
durationMsThe length of time this frame lasts.
 
            View on GitHub
          
      Frame Structure Reference