Avatar for Frida

Frida

Member since Sep 2013 • Last active Oct 2021
  • 26 conversations
  • 210 comments

Most recent activity

  • in General
    Avatar for Frida

    billede

    mac and upload is not my strong point

  • in General
    Avatar for Frida

    billede

  • in General
    Avatar for Frida

    Billede

  • in General
    Avatar for Frida

    Same version of mac and same version of google chrome. On my mac it looks like this:

    In the first picture I choose Web Bluetooth (Bluetooth Low Energy)

    In the next picture I choose my Pixl and vupti

  • in ESP8266
    Avatar for Frida

    I downloaded ver .: 2v08.189 and everything seems as planned.

    • 3 comments
    • 669 views
  • in ESP8266
    Avatar for Frida
     ____                 _
    |  __|___ ___ ___ _ _|_|___ ___
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v08.80 (c) 2019 G.Williams
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    Flash map 512KB:256/256, manuf 0xc8 chip 0x4013
    >di
    digitalPulse        digitalRead
    digitalWrite
    >digitalWrite(D13,1)
    =undefined
    >digitalPulse(D13,1,10)
    =undefined
    Uncaught Error: Invalid pin!
    
    

    Occurs only with digitalPulse ()

  • in Electronics
    Avatar for Frida

    The first condition for making it work is that you
    use a transformer with at least 9A, since 6 * 9 = 54W.
    Your bulb is 50W

  • in JavaScript
    Avatar for Frida

    You are missing the last " in "three"

  • in ESP8266
    Avatar for Frida
    // lan-test00 - esp8266_01
    
    var ver = 'ver = V1.0';
    
    function onInit(a) {
      debug = (typeof a==='undefined')?0:a;
      var wlan     = require("Wifi");
      var http     = require("http");
      var logon    = require('LOGON');
    
    
      wlan.stopAP();
      wlan.disconnect();
    
    
      var boola;
      function lan() {
        //wlan.connect(yourssid, {password: yourpassword}, function (s) {
        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;
          //do what you need to do.
          if(debug)console.log('tilsluttet lan');
        }
      });
    
    } // end onInit()
    
    onInit(2); // comment or remove before save
    
    
    
    

    You should not use logon and use your own logon values instead. That's because I have my logon values in a module.
    I use debug until the program runs properly.

Actions