Thank both, that's very helpful! I have got the first 2 working, but I think I'm using NRF.getAddress() wrong, as I'm getting the following error: "Uncaught Error: Function "getAddress" not found!"
My code is as follows:
Bluetooth.println('BOARD:'+process.env.BOARD); // works
Bluetooth.println('SERIAL:'+getSerial()); // works
Bluetooth.println('MAC:'+NRF.getAddress()); // does not work
Am I doing anything obviously wrong? Does NRF need to be used differently?
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.
Thank both, that's very helpful! I have got the first 2 working, but I think I'm using NRF.getAddress() wrong, as I'm getting the following error: "Uncaught Error: Function "getAddress" not found!"
My code is as follows:
Am I doing anything obviously wrong? Does NRF need to be used differently?