Devices now cache notified values for easy retrieval without events
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Nathan Kellenicki 2020-01-13 12:59:43 -08:00
parent 0c3ff8b00a
commit 225b60f752

View File

@ -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}`: ""})`);
});