Avatar for davem

davem

Member since Nov 2015 • Last active Oct 2016
  • 0 conversations
  • 7 comments

Most recent activity

  • in ESP8266
    Avatar for davem

    any update on this? I'm getting A0 undefined (v 1.87)

    thx
    David

  • in Tutorials
    Avatar for davem

    Nice! Which IR sensor are you using?

  • in ESP8266
    Avatar for davem

    Might be useful documenting what's not working too, just a thought, and, crucially, which MCU you are using!

  • in ESP8266
    Avatar for davem

    I ran into similar issue trying to get I2C working with the Wii Nunchuck.

    • works fine with Pico, but not at all on ESP8266.
  • in Interfacing
    Avatar for davem

    Thanks Gordon, somehow i lost track of this thread, that's exactly what I need.
    Dave

  • in ESP8266
    Avatar for davem

    Thanks so much for this, I can confirm that it works on the WeMosD1 board, see pic of board (NOTE: I couldn't get NodeMcu working on this board!).

    esptool.py --port  /dev/tty.wchusbserial1410 --baud 9600 write_flash --flash_freq 80m --flash_mode qio --flash_size 32m  0x0000 "boot_v1.4(b1).bin" 0x1000 espruino_esp8266_user1.bin 0x37E000 blank.bin
    
    var wifi = require("Wifi");
    var http = require("http");
    
    wifi.connect("ssid",{password:"pwd"},fun­ction(err){
      console.log("connected: err:", err, ", IP:", wifi.getIP());
      http.createServer(function(req, res){
        res.writeHead(200, {'Content-Type': 'text/html'});
        res.write('Hello World');
        res.end();
      }).listen(80);
    });
    
  • in Interfacing
    Avatar for davem

    Not sure if this is related, but working with neopixel leds, which require array arguments to be 'splatted' is odd.
    Just wondering if you have any functional array handling, e.g. lodash?

    Dave

Actions