From 0235c1ce89276e45ab1154caa4313f3b69d30dbc Mon Sep 17 00:00:00 2001 From: Volodymyr Shymanskyy Date: Tue, 12 Sep 2017 01:31:31 +0300 Subject: [PATCH] Use TinyGsmAutoBaud --- examples/AllFunctions/AllFunctions.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/AllFunctions/AllFunctions.ino b/examples/AllFunctions/AllFunctions.ino index 0d027c8..b3a8c62 100644 --- a/examples/AllFunctions/AllFunctions.ino +++ b/examples/AllFunctions/AllFunctions.ino @@ -58,7 +58,7 @@ void setup() { delay(10); // Set GSM module baud rate - SerialAT.begin(115200); + TinyGsmAutoBaud(SerialAT); delay(3000); } @@ -107,6 +107,7 @@ void loop() { int csq = modem.getSignalQuality(); DBG("Signal quality:", csq); + // This is NOT supported on M590 int battLevel = modem.getBattPercent(); DBG("Battery lavel:", battLevel);