UNPKG

interactive-gpio-node

Version:

8 lines (7 loc) 265 B
import {Observable} from "rxjs"; import {BoutonConfig} from "./boutonConfig"; export interface BoutonInterface { keys: { [key: string]: Observable<boolean | number> }; pin: { [label: string]: number }; configureButtons(buttons: BoutonConfig[]): void; }