OK, seems you are correct and the documentation wrong.
As you say in the DISCONNECTING example here: http://www.espruino.com/CC3000
var wlan = require("CC3000").connect();
Is only called once.
Many thanks for your help.
@user47955 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.
OK, seems you are correct and the documentation wrong.
As you say in the DISCONNECTING example here: http://www.espruino.com/CC3000
Is only called once.
Many thanks for your help.