Better Vernie example

This commit is contained in:
Nathan Kunicki 2018-06-22 15:58:27 +01:00
parent dce0fccc6d
commit 5165ab7e45

View File

@ -3,7 +3,7 @@ const LPF2 = require("..").LPF2;
const lpf2 = new LPF2(); const lpf2 = new LPF2();
lpf2.scan(); // Start scanning for Vernie lpf2.scan(); // Start scanning for Vernie
console.log("Looking for Vernie (Please turn the Hub on now)..."); console.log("Looking for Vernie (Please turn on the Hub now)...");
lpf2.on("discover", async (vernie) => { // Wait to discover Vernie lpf2.on("discover", async (vernie) => { // Wait to discover Vernie