You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Ok, it's because you're using Serial2, not Serial1. You did change it in the .connect call though.

    Try:

    Serial1.setup(9600, { rx: B6, tx : B7 });
    //^^^^ this one
    var wifi = require("ESP8266WiFi").connect(Serial1, function(err) {
    ...
    
About

Avatar for Gordon @Gordon started