Can you add some debug code to make sure the register(">" handler is getting called?
register(">"
It looks possible it's getting confused by the leading newlines. You could hack it in for now by changing the line to:
at.register("\r\n>", function() {
I'll see about modifying the AT command thing a bit more
@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.
Can you add some debug code to make sure the
register(">"
handler is getting called?It looks possible it's getting confused by the leading newlines. You could hack it in for now by changing the line to:
I'll see about modifying the AT command thing a bit more