What happens to the bluetooth module on reset? #3914
Unanswered
espruino-discuss3
asked this question in
General
Replies: 1 comment
-
Posted at 2014-07-02 by @gfwilliams Hi Alex, This could actually be a bug related to Espruino resetting pin states (even though Serial1 should have stayed as a UART) - try just explicitly setting Serial1 up:
It shouldn't even need to be called from Posted at 2014-07-02 by @gfwilliams Ok, this will be fixed for the 1v67 release. Posted at 2014-07-02 by Alex Hi Gordon, Thanks for the reply, it works with the setup now. Happy to have presented a new bug for the great slaughterhouse :). Regards |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2014-07-02 by Alex
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?
Beta Was this translation helpful? Give feedback.
All reactions