You are reading a single comment by @Coder2012 and its replies. Click here to read the full conversation.
  • OK, what happens is that it seems to hang on the first line, the connect doesn't seem to return anything, if I add a console.log before and after that line, only the first line is output.

    console.log("start"); // yes i see this
    var wlan = require("CC3000").connect();
    console.log("damn it");// I don't get here
    wlan.connect( "AccessPointName", "WPA2key", function (s) { 
      if (s=="dhcp") {
        require("http").get("http://www.pur3.co.­uk/hello.txt", function(res) {
          res.on('data', function(data) {
            console.log(">" + data);
          });
        });
      }
    });
    

    I am not the best in the world at soldering, it's possible that my pins are not soldered perfectly, I'll need to check those I guess. Do any of the LEDs on the CC3000 light up at all, nothing seems to on mine.

About

Avatar for Coder2012 @Coder2012 started