Avatar for ghendo

ghendo

Member since Jul 2016 • Last active Jan 2017
  • 1 conversations
  • 6 comments

Most recent activity

    • 13 comments
    • 1,020 views
  • in ESP8266
    Avatar for ghendo

    oh god it worked!
    So, need to wait a bit before starting it up.
    Thanks so much

  • in ESP8266
    Avatar for ghendo

    Thats ok
    At the moment I feel the onInit() function is just not running on power up
    no matter what I do. if I power up then dump() the code is there but it just doesnt run on power up/reset.

  • in ESP8266
    Avatar for ghendo

    sorry just to be clear in the right hand side of IDE I put
    var http = require("http");

    function onInit(){
    http.createServer(function (req, res) {
    res.writeHead(200);
    res.end("Hello World");
    }).listen(8080);}
    onInit();

    then in left hand side I type
    save()
    then I repower the device and find doesnt work

  • in ESP8266
    Avatar for ghendo

    hmm things get very complicated very quickly

    I tried

    var http = require("http");

    function onInit(){
    http.createServer(function (req, res) {
    res.writeHead(200);
    res.end("Hello World");
    }).listen(8080);

    }

    but didnt work :(

  • in ESP8266
    Avatar for ghendo

    Thanks for the reply!
    My next question is when I put in a simple hello world http if I unplug the device then plug it in it doesn't seem to start the http and I have resend the code to make it work again I tried setting the communication setup to keep the code but then it shows an error when I try to load the code

  • in ESP8266
    Avatar for ghendo

    I have Espurino running on a Wemos D1 mini (finally)
    I have a question about the IDE
    After installing and configuring OTA connection the wifi setup seems to
    stay there even after I upload a new simple test program without any wifi
    connection commands

    So does this mean the OTA wifi connection is stored in a secret place
    that I cant see and I just add my extra bit ?
    What if I wanted to change the wifi configuration that is stored in the secret place?

Actions