Hierarchy (View Summary)

Constructors

Properties

_deps: Deps
_deviceId: string

Methods

  • Set color.

    Parameters

    • rgb: [number, number, number]

      An array of 3 numbers representing the RGB values.

      • rgb[0] is the red value (0-255).
      • rgb[1] is the green value (0-255).
      • rgb[2] is the blue value (0-255).

      E.g., [255, 0, 0] is red.

    Returns Promise<any>