@ginden/blinkstick-v2
Version:
Improved Blickstick API for Node.js
9 lines • 496 B
TypeScript
import type { BlinkstickAny } from '../../core/blinkstick';
/**
* Sets an infoblock on a device.
* @param {BlinkStick} device Device on which to set the value.
* @param {Number} location Address to seek the data.
* @param {String | Buffer} data The value to push to the device. Should be <= 32 chars.
*/
export declare function setInfoBlock(device: Pick<BlinkstickAny, 'setFeatureReport'>, location: number, data: string | Buffer): Promise<void>;
//# sourceMappingURL=set-info-block.d.ts.map