UNPKG

sensorium

Version:

makeblock mainboards protocol api

21 lines (18 loc) 370 B
import BaseSound from './BaseSound'; import { fiterWithBinaryStr } from '../core/utils'; import { SUPPORTLIST } from '../settings'; /** * Sound sensor module * @extends BaseSound */ class Sound extends BaseSound { constructor(port) { super(port); } static get SUPPORT(){ return fiterWithBinaryStr(SUPPORTLIST, '111111'); } } export default Sound;