diff --git a/examples/sensor_test.js b/examples/sensor_test.js index 9dc5c56..3f21714 100644 --- a/examples/sensor_test.js +++ b/examples/sensor_test.js @@ -49,6 +49,6 @@ poweredUP.on("discover", async (hub) => { hub.on("detach", (port) => { console.log(`Device detached from port ${port}`) ; - }); + }); }); \ No newline at end of file diff --git a/examples/web_bluetooth.css b/examples/web_bluetooth.css index fb1376d..7244098 100644 --- a/examples/web_bluetooth.css +++ b/examples/web_bluetooth.css @@ -50,4 +50,15 @@ a.button { border-radius: 3px; background-color: #666666; color: #ffffff; +} + +div#console { + padding: 5px; + border-radius: 3px; + background-color: #333333; + color: #ffffff; + width: 700px; + height: 500px; + overflow: scroll; + font-family: "Courier New", Courier; } \ No newline at end of file diff --git a/examples/web_bluetooth.html b/examples/web_bluetooth.html index 4abb155..672248b 100644 --- a/examples/web_bluetooth.html +++ b/examples/web_bluetooth.html @@ -3,7 +3,8 @@ Web Bluetooth node-poweredup Example - + +