On 1v99 firmware and earlier, Bluetooth.write("PRESS\r\n") would use quite a lot of power, but on the cutting edge builds it is fine.
I'd say NRF.setAdvertising is better though, if only because it deals better with intermittent signal (if you press the button while out of range, then come into range, it'll remember there was a press).
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.
On 1v99 firmware and earlier,
Bluetooth.write("PRESS\r\n")
would use quite a lot of power, but on the cutting edge builds it is fine.I'd say
NRF.setAdvertising
is better though, if only because it deals better with intermittent signal (if you press the button while out of range, then come into range, it'll remember there was a press).