mhz19-node
v0.0.2
Published
Easy data retrieval from mhz-19
Downloads
3
Readme
mhz19-node
Example
const MHZ19 = require("mhz19-node");
const sensor = new MHZ19({ port: "COM4", baudrate: 9600 });
sensor.get()
.then(
({ co2, temperature }) => console.log(`co2: ${co2}, t: ${temperature}`)
)