pigpio-vma309
v1.0.10
Published
Sound Sensor VMA309 for Raspberry Pi
Downloads
3
Readme
pigpio-vma309
Sound Sensor VMA309 for Raspberry Pi using npm module pigpio.
Installation
$ npm install pigpio-vma309 --save
Usage
var Sensor = require('pigpio-vma309');
var sensor = new Sensor({pin:19});
sensor.on('alert', (duration) => {
console.log('Sound detected for %d milliseconds', duration);
});