• Hello, I'm trying on ESP8266 Wifi Module. I have recompiled Espruino as described
    here: http://forum.espruino.com/conversations/258825/ and here : https://github.com/espruino/Espruino

    And installed it to my STM32F4DISCOVERY Device.

    I'm trying those instructions : http://www.espruino.com/ESP8266

    I have done all connections except of 3.3v extra regulator.
    Also, I don't know is my module new or not, I can see a led like element on the board but it is not blinking when I power it up.

    I'm trying this code and getting the error shown below, How can I be sure is it about module? Connection? or Sotware? :

    Serial4.setup(115200, { rx: C11, tx : C10 });
    var wifi = require("ESP8266").connect(Serial4, function() {
      wifi.connect("WiFi_Name","WPA2_Key", function() {
        console.log("Waiting 10 secs for connect...");
        setTimeout(function() {
          require("http").get("http://192.168.1.50", function(res) {
    
          });
        }, 10000);
      });
    });
    

    Uncaught Error: Field or method does not already exist, and can't
    create it on undefined at line 10 col 2 }); ^ at line 2 col 7
    wifi.connect("Wiffi","WiffiPassword", function() {

       ^ in function called from system
    
About

Avatar for fobus @fobus started