Class Frame

A frame of LEDs, used when you wish to set color pixel by pixel

Export

Hierarchy

Constructors

Properties

Methods

Constructors

  • Creates an instance of Frame.

    Parameters

    • leds: Led[]

      Array of Led, of same length as nleds

    Returns Frame

Properties

leds: Led[]

Methods

  • Get the number of LEDs in this frame

    Returns number

  • Output the frame as a Uint8Array of bytes

    Returns Uint8Array

Generated using TypeDoc