Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WS2812

Hierarchy

  • WS2812

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • Returns WS2812

Properties

keys

keys: string[]

params

params: any

requiredKeys

requiredKeys: string[]

Methods

hsv

  • hsv(hue: number, saturation: number, value: number): void
  • Parameters

    • hue: number
    • saturation: number
    • value: number

    Returns void

hsvs

  • hsvs(array: [number, number, number][]): void
  • Parameters

    • array: [number, number, number][]

    Returns void

rgb

  • rgb(red: number, green: number, blue: number): void
  • Parameters

    • red: number
    • green: number
    • blue: number

    Returns void

rgbs

  • rgbs(array: [number, number, number][]): void
  • Parameters

    • array: [number, number, number][]

    Returns void

wired

  • wired(obniz: Obniz): void
  • Parameters

    Returns void

Static info

  • Returns ObnizPartsInfo

Generated using TypeDoc