I have connected a HM-10 to the espruino and it works well if I unplug the USB cable, replug, connect to WEBIDE and use code that was saved to flash. It also keeps working after resetting the espruino with the reset switch.
If I use the reset() function however, the HM-10 does not listen to my commands anymore. Is there a way to check if the UART connection is still working? The control LED of the HM-10 keeps flashing like it's waiting for orders, so the module itself seems to be running. The only thing I can think of is that the UART communication is not working anymore.
Regards,
Alex
EDIT: I also tried connecting pin 11 of the HM-10 to ground, to reset it. After reset, its still not listening.. UART handshake or something?
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.
Hi All,
I have connected a HM-10 to the espruino and it works well if I unplug the USB cable, replug, connect to WEBIDE and use code that was saved to flash. It also keeps working after resetting the espruino with the reset switch.
If I use the reset() function however, the HM-10 does not listen to my commands anymore. Is there a way to check if the UART connection is still working? The control LED of the HM-10 keeps flashing like it's waiting for orders, so the module itself seems to be running. The only thing I can think of is that the UART communication is not working anymore.
Regards,
Alex
EDIT: I also tried connecting pin 11 of the HM-10 to ground, to reset it. After reset, its still not listening.. UART handshake or something?