I'm afraid I don't know - I haven't used HM-11.
Could it be that the baud rate is different? Espruino expects 9600 baud by default - to change it you need to call Serial1.setup(baud_rate)
Serial1.setup(baud_rate)
@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.
I'm afraid I don't know - I haven't used HM-11.
Could it be that the baud rate is different? Espruino expects 9600 baud by default - to change it you need to call
Serial1.setup(baud_rate)