Another example update

This commit is contained in:
Sara Damiano
2019-05-23 12:39:04 -04:00
parent dc2d4b5881
commit 7e314292d4
6 changed files with 104 additions and 27 deletions

View File

@@ -31,7 +31,7 @@
// See all AT commands, if wanted
// #define DUMP_AT_COMMANDS
// See the debugging, if wanted
// Define the serial console for debug prints, if needed
#define TINY_GSM_DEBUG SerialMon
// Range to attempt to autobaud
@@ -70,8 +70,11 @@
// Your GPRS credentials
// Leave empty, if missing user or pass
const char apn[] = "YourAPN";
const char gprsUser[] = "";
const char gprsPass[] = "";
const char wifiSSID[] = "YourSSID";
const char wifiPass[] = "YourWiFiPass";
#include <TinyGsmClient.h>
@@ -98,6 +101,8 @@ void setup() {
DBG("Wait...");
// Set GSM module baud rate
TinyGsmAutoBaud(SerialAT,GSM_AUTOBAUD_MIN,GSM_AUTOBAUD_MAX);
//SerialAT.begin(9600);
delay(3000);
}