You are reading a single comment by @ert4 and its replies. Click here to read the full conversation.
  • Im collecting the data, and using the pico as a sever.
    ---------------------Code
    // ESP8266 WiFi v25
    var WIFI_NAME = "Temp-Student";
    var WIFI_PASS = "TempStu1";
    Serial2.setup(115200, { rx: A3, tx : A2 });
    var wifi = require("ESP8266WiFi_0v25").connect(Serial2, function(err) {
    if (err) throw err;
    wifi.reset(function(err) {

    if (err) throw err;
    console.log("Connecting to WiFi");
    wifi.connect(WIFI_NAME, WIFI_PASS, function(err) {
      if (err) throw err;
      console.log("Connected");
      // print IP address
      wifi.getIP(console.log);
      // Create a server
      require("http").createServer(pageHandler).listen(80);
    });
    

    });
    });
    --------------------end of code
    I want to have the light go on a graph.


    1 Attachment

About

Avatar for ert4 @ert4 started