You are reading a single comment by @dave_irvine and its replies. Click here to read the full conversation.
  • For anyone as silly as me who decides to change the baud rate without waiting for a configurable wifi communication module, here is how to rescue yourself.

    AT+CIOBAUD seems to carry across reboots, which everyone says it doesn't, but it does!

    digitalWrite(A14, 0);
    Serial2.setup(9600, { rx: A3, tx : A2 });
    at = require('AT').connect(Serial2);
    at.cmd("\r\nAT+RST\r\n", 10000, function cb(d) {
      at.cmd(“AT+CIOBAUD=115200\r\n”, 1000, function () {
        at.debug();
        at.cmd(“AT+RST\r\n”, 1000);
      });
    });
    digitalWrite(A13, 1);
    digitalWrite(A14, 1);
    
About

Avatar for dave_irvine @dave_irvine started