...wifi.stopAP() is puzzling me...: why would you stop it? You did not even start an access point... but may be, I miss a point here...
anyway: where does the print() go when you are not connected anymore to the Web IDE? Is it blocking the device, because the/a buffer is full with print?
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.
...
wifi.stopAP()
is puzzling me...: why would you stop it? You did not even start an access point... but may be, I miss a point here...anyway: where does the print() go when you are not connected anymore to the Web IDE? Is it blocking the device, because the/a buffer is full with print?
Remove the print()s and give it another shot...