From 225b60f7523047fbcf0097565f2ef8754d73c521 Mon Sep 17 00:00:00 2001 From: Nathan Kellenicki Date: Mon, 13 Jan 2020 12:59:43 -0800 Subject: [PATCH] Devices now cache notified values for easy retrieval without events --- examples/web_bluetooth.html | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/web_bluetooth.html b/examples/web_bluetooth.html index c642537..ce68b23 100644 --- a/examples/web_bluetooth.html +++ b/examples/web_bluetooth.html @@ -28,7 +28,6 @@ poweredUP.on("discover", async (hub) => { // Wait to discover hubs }) hub.on("tilt", (device, { x, y, z }) => { - console.log(x, y, z); log(`Tilt detected on port ${device.portName} (X: ${x}, Y: ${y}${z !== undefined ? `, Z: ${z}`: ""})`); });