Update examples

This commit is contained in:
Volodymyr Shymanskyy
2016-12-16 18:23:56 +02:00
parent 90a5a33fc9
commit 87298eacce
5 changed files with 22 additions and 8 deletions

View File

@@ -47,10 +47,12 @@ void setup() {
delay(3000);
// Restart takes quite some time
// You can skip it in many cases
SerialMon.println("Restarting modem...");
// To skip it, call init() instead of restart()
modem.restart();
// Unlock your SIM card with a PIN
//modem.simUnlock("1234");
SerialMon.println("Waiting for network... ");
if (modem.waitForNetwork()) {
SerialMon.println("OK");