Yesterday I wrote myself a disconnect button for:
LED On! LED Off! from the tutorial page, I did however apparantly not save this small code snippet and I did not find it in my browser history. I did try this: async function disconnect(){ gatt.disconnect(); } and deviceObj.gatt.disconnect(). which both did not work. Puck.js2.1a
LED On! LED Off! from the tutorial page, I did however apparantly not save this small code snippet and I did not find it in my browser history. I did try this:
async function disconnect(){ gatt.disconnect(); }
and deviceObj.gatt.disconnect(). which both did not work. Puck.js2.1a
@user157578 started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yesterday I wrote myself a disconnect button for: