From df073179204593592aff131f0d1fd09fc103398e Mon Sep 17 00:00:00 2001 From: kakhtar Date: Sat, 1 May 2021 15:54:06 -0400 Subject: [PATCH] Changed baud rate back to 9600 by default --- connection.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/connection.js b/connection.js index 95edbe8..be1a948 100644 --- a/connection.js +++ b/connection.js @@ -56,8 +56,7 @@ function openPort(portId, callback) { // Constructing a new serialport every time means that hard resetting the ESP32, then opening // and closing the connection will fix the problem. port = new serialport(portId, { // TODO: baud configuration - autoOpen: false, - baudRate: 115200 + autoOpen: false }); port.on("open", () => onPortOpen(callback)); port.on("data", data => onPortData(data));