UNPKG

obniz

Version:

obniz sdk for javascript

25 lines (24 loc) 665 B
/** * @packageDocumentation * @module Parts.PT550 */ import Obniz from '../../../obniz'; import { PeripheralAD } from '../../../obniz/libs/io_peripherals/ad'; import { ObnizPartsInterface, ObnizPartsInfo } from '../../../obniz/ObnizPartsInterface'; export interface PT550Options { signal: number; vcc?: number; gnd?: number; } export default class PT550 implements ObnizPartsInterface { static info(): ObnizPartsInfo; keys: string[]; requiredKeys: string[]; obniz: Obniz; params: any; signal: PeripheralAD; constructor(); onchange(value: number): void; wired(obniz: Obniz): void; getWait(): Promise<number>; }