Yes, that's no problem at all - as long as you set LED1 to be an input first - either by doing digitalRead(LED1) or pinMode(LED1,'input').
digitalRead(LED1)
pinMode(LED1,'input')
I'd suggest using LED2 or LED3 though, as LED1 is flashed at startup - so is automatically made into an output (which might conflict with the HM-10).
@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, that's no problem at all - as long as you set LED1 to be an input first - either by doing
digitalRead(LED1)
orpinMode(LED1,'input')
.I'd suggest using LED2 or LED3 though, as LED1 is flashed at startup - so is automatically made into an output (which might conflict with the HM-10).