Avatar for Wilberforce

Wilberforce

Member since Feb 2016 • Last active Feb 2017
  • 16 conversations
  • 322 comments

Most recent activity

  • in Espruino on ESP8266
    Avatar for Wilberforce

    Please note nothing is listening on port 80 unless you actually start a server listening on that port.

    espruino.com/Internet

    var http = require("http");
    http.createServer(function (req, res) {
      res.writeHead(200);
      res.end("Hello World");
    }).listen(80);
    
  • in JavaScript
    Avatar for Wilberforce

    Which board are you using?

    The code save area does not get overwritten when you flash the firmware, so the previous saved code would still be intact.

    Sorry, I'm not familiar with the Mongoose OS's init.js

  • in JavaScript
    Avatar for Wilberforce

    This is what save();

    On the right hand side of the ide, upload you code. Test it is working as intended.

    Then on the left hand side of the ide, type save()

    This code you had uploaded is then saved into flash memory. On restart, the code will be loaded and run.

  • in General
    Avatar for Wilberforce

    The pins are D0 to pin D39, so you want D12.

    There are some tests in the Esp32 branch you can reference
    github.com/espruino/Espruino/blo­b/ESP32/targets/esp32/tests/i2c-hd44780.­js

  • in Espruino on ESP8266
    Avatar for Wilberforce

    Hi folks,
    Here the latest ESP32 build updated to 1v91.381

    Please note that partitions have might have changed since the last update, detailed in README_flash.txt in the tgz file

    You might need to /eraseflash too.

  • in Espruino on ESP8266
    Avatar for Wilberforce

    ok . so you can write text and numbers to the display.

    It is not clear what you actual issue is. What graphics are you trying to display?

    If you posted some code, perhaps it would be apparent what you are trying to do?

  • in Espruino on ESP8266
    Avatar for Wilberforce

    The NodeMcu:Dx notation that @MaBe referenced maps to the PIN numbers as labelled on the board.

    If you use D0 this is gpio0 , and not the PIN label on the board...

    Do you understand what I'm trying to say?

  • in Interfacing
    Avatar for Wilberforce

    There is another way of doing this.....
    You can fire up a hotspot on your phone.... and get the esp8266 to connect to your phone..

    From there you could have a page that then asks for ssid and password you want to join...

    The set up a setwatch on the flash button, so if that is pressed, it
    Changes the network back to you phone ssid, so this way you can switch between the two networks.

    You could even set up a timeout instead of getting triggered by a button. If the last saved network is not found within say 30 secs, reconnect to your phone hotspot.

  • in Espruino on ESP8266
    Avatar for Wilberforce

    The main ide once you are flashed, is to use the espurino ide to send JavaScript to the board..

  • in Espruino on ESP8266
    Avatar for Wilberforce

    He is using an esp-01 so won't have those pins!

Actions