UNPKG

blinkstick-ts

Version:
16 lines (15 loc) 443 B
/** * Provides access to BlinkStick devices * * @module blinkstick */ import { BlinkStickChannel } from './blinkstick-channel'; import { Color } from './color'; import { Led } from './led.interface'; export declare class BlinkStickLed implements Led { private readonly channel; private readonly index; constructor(blinkStickChannel: BlinkStickChannel, index: number); setColor(color: Color): void; getColor(): Color; }