Update examples

This commit is contained in:
Volodymyr Shymanskyy
2016-12-29 14:13:50 +02:00
parent d8ae72856f
commit d76a2a645c
4 changed files with 33 additions and 3 deletions

View File

@@ -8,6 +8,11 @@
*
**************************************************************/
// Select your modem:
#define TINY_GSM_MODEM_SIM800
//#define TINY_GSM_MODEM_SIM900
//#define TINY_GSM_MODEM_M590
#include <TinyGsmClient.h>
// Your GPRS credentials
@@ -40,6 +45,7 @@ void setup() {
// Restart takes quite some time
// To skip it, call init() instead of restart()
Serial.println("Initializing modem...");
modem.restart();
// Unlock your SIM card with a PIN