Yes - looks like you're using require("puckjsv2-accel-bigmovement") anyway and even have the idle timeout, so all you need is:
require("puckjsv2-accel-bigmovement")
NRF.setAdvertising({}, { manufacturer: 0x0590, manufacturerData: [x,y], interval:375});
inside your idleTimeout = setTimeout(function() { function
idleTimeout = setTimeout(function() {
@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.
Yes - looks like you're using
require("puckjsv2-accel-bigmovement")
anyway and even have the idle timeout, so all you need is:inside your
idleTimeout = setTimeout(function() {
function