Bluetooth Time Setter

This page uses Web Bluetooth to set the current time on your Bluetooth LE-enabled Espruino device direct from the web page.

See the Graphics library page for more information.




How does it work?

The Puck.js Web Bluetooth library is used - it's as simple as:

<script src="https://www.puck-js.com/puck.js"></script>
<script>
...
Puck.setTime(function() {
  Puck.close();
  window.alert("Time set successfully!");
});

This page is auto-generated from GitHub. If you see any mistakes or have suggestions, please let us know.