Class: DustSensor

DustSensor

new DustSensor(pins)

dust-sensor.js, line 10
Dust sensor module.
Name Type Description
pins Number The pin number.

Methods

on(eventName, listener)

dust-sensor.js, line 24
Listen the dust sensor's state.
Name Type Description
eventName String The name of the event.
listener function The callback function.