Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FullColorLED

Hierarchy

  • FullColorLED

Implements

Index

Constructors

constructor

  • Returns FullColorLED

Properties

COMMON_TYPE_ANODE

COMMON_TYPE_ANODE: number = 1

COMMON_TYPE_CATHODE

COMMON_TYPE_CATHODE: number = 0

animationName

animationName: any

anode_keys

anode_keys: any

cathode_keys

cathode_keys: any

common

common: any

commontype

commontype: any

keys

keys: string[]

params

params: any

pwmB

pwmG

pwmR

requiredKeys

requiredKeys: string[]

Methods

gradation

  • gradation(cycletime_ms: number): void
  • Parameters

    • cycletime_ms: number

    Returns void

hsv

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

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

    Returns void

rgb

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

    • red: any
    • green: any
    • blue: any

    Returns void

stopgradation

  • stopgradation(): void
  • Returns void

wired

  • wired(obniz: Obniz): void
  • Parameters

    Returns void

Static info

  • Returns ObnizPartsInfo

Generated using TypeDoc