Device_LED_Color

public class Device_LED_Color : Codable

This class is used to define different colours by setting different hex values for red, green and blue.

  • red

    Hex value of red color to be used.

    Declaration

    Swift

    public let red: UInt8
  • Hex value of green color to be used

    Declaration

    Swift

    public let green: UInt8
  • Hex value of blue color to be used.

    Declaration

    Swift

    public let blue: UInt8
  • Declaration

    Swift

    public init(red: UInt8, green: UInt8, blue: UInt8)