Browse Source

Use TinyGsmAutoBaud

v_master
Volodymyr Shymanskyy 7 years ago
parent
commit
0235c1ce89
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      examples/AllFunctions/AllFunctions.ino

+ 2
- 1
examples/AllFunctions/AllFunctions.ino View File

@ -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);


Loading…
Cancel
Save