Avatar for Frida

Frida

Member since Sep 2013 • Last active Sep 2018
  • 24 conversations
  • 177 comments

Most recent activity

  • in ESP8266
    Avatar for Frida

    I had problems with one of my router so I did this feature:

      var boola;
      function lan() {
        wlan.connect(logon.ssid, {password: logon.pass}, function (s) {
          boola = true;
          if(s==='bad password') {
            if(debug)console.log('restart lan');
            lan();
          }
        });
    
        if(debug)console.log("Frida is my watchdog");
        if(debug)console.log(wlan.getIP().ip);
      } // end lan()
      setTimeout(lan,400);
    
    
      wlan.on('connected', function(s) {
        if(debug)console.log('Starter test', wlan.getIP().ip);
        if(boola) {
          boola = false;
          startTimeServer();
          if(debug)console.log('tilsluttet lan');
        }
      });
    
    
  • in Puck.js, Pixl.js and MDBT42
    Avatar for Frida

    Ordered a pair at 3dhubs.
    Will be here about 1 day or 2.
    Thank you for your drawings.

  • in ESP32
    Avatar for Frida
    wifi.on ('connected', function () {
       console.log ('Connected to Wifi. IP address is:', wifi.getIP () .ip);
       setTimeout (start server, 400);
    });
    
    

    I do not think that 'storage.write ("1.css", ...) is fast enough before the server starts, so I used a delay, maybe it should be different on your system.
    I tried with 'setTimeout (StartServer, 400);' and got this picture on screen.
    Hope it will take you on.

  • in ESP32
    Avatar for Frida

    Your last line, "onInit ();", do not save to flash.
    When you reset, "onInit ();" run automatically.
    And I'm waiting to start other features that rely on that
    the wifi is connected like this.

        wifi.connect (ssid, {password: password}, function () {
    });
    
       wifi.on ('connected', function () {
         console.log ('Connected to Wifi. IP address is:', wifi.getIP () .ip);
         server start ();
         }
       });
    
    

    Maybe it can help you further.

  • in ESP32
    Avatar for Frida

    Sorry, it was my fault, I did not change folders in my batch file, so I flashed an older version, now it's okay.
    I did not see that the text was translated into Danish, once more sorry.
    Now I'm up to running with the new version.

    >reset();
    =undefined
    WARNING: --- gap_setScan 0
    WARNING: Scan stop failed
    WARNING: set rssi scan not implemeted yet
    WARNING: has central connection not implemented yet
     ____                 _
    |  __|___ ___ ___ _ _|_|___ ___
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     1v99.175 (c) 2018 G.Williams
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    >process.env
    ={
      "VERSION": "1v99.175",
      "GIT_COMMIT": "fe5afe9",
      "BOARD": "ESP32",
      "FLASH": 0, "RAM": 524288,
      "SERIAL": "d8a01d40-9f94",
      "CONSOLE": "Serial1",
      "MODULES": "Flash,Storage,fs," ... "r,crypto,neopixel",
      "EXPTR": 1073485300 }
    > 
    
  • in Puck.js, Pixl.js and MDBT42
    Avatar for Frida

    Maybe like a breakout, for those who need it?

  • in ESP32
    Avatar for Frida

    The last downloaded version is espruino_1v99.36_esp32.tgz, but it shows something else when I reset.

    ____ _
    | __ | ___ ___ ___ _ _ | _ | ___ ___
    | __ | _ - | . | _ | | | | | . |
    | ____ | ___ | _ | _ | | ___ | _ | _ | _ | ___ |
              | _ | espruino.com
      1v96.3765 (c) 2018 G.Williams
    Espruino is open source. Our work is supported
    Kun ved salg af officielle boards og donationer:
    http://espruino.com/Donate
    
    
  • in ESP32
    Avatar for Frida

    Yes, I read about it afterwards.
    In other words, it is the number of numbers displayed and explains why the other esp32 shows 160.
    I also read that each esp32 should be calibrated for temperature.

  • in ESP32
    Avatar for Frida

    http://forum.espruino.com/conversations/­320632/#comment14237159
    The version I downloaded runs with approx. 120 gr. C,
    taken with E.getTemperature ().

Actions