If you're using Android, iOS or Mac OS I'd suggest Web Bluetooth.
There's an example here that would be perfect: http://www.espruino.com/Web+Bluetooth+Dashboard#realtime-dashboard
Where it says:
connection.write("setInterval(function(){Bluetooth.println(JSON.stringify({light:Puck.light()}));},100);NRF.on('disconnect', function() {reset()});\n",
change it to:
connection.write("setInterval(function(){Bluetooth.println(JSON.stringify({light:Puck.light(), temp:E.getTemperature()}));},1000);NRF.on('disconnect', function() {reset()});\n",
However I seem to recall you're on win 10? If so web bluetooth will be available in a few months but it's not there yet and @Pi's advice is spot on
Everything's ok now. Thanks
@Gordon 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.
If you're using Android, iOS or Mac OS I'd suggest Web Bluetooth.
There's an example here that would be perfect: http://www.espruino.com/Web+Bluetooth+Dashboard#realtime-dashboard
Where it says:
change it to:
However I seem to recall you're on win 10? If so web bluetooth will be available in a few months but it's not there yet and @Pi's advice is spot on