Browse Source

Add debug

v_master
Volodymyr Shymanskyy 7 years ago
parent
commit
601892d106
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      examples/AllFunctions/AllFunctions.ino

+ 3
- 0
examples/AllFunctions/AllFunctions.ino View File

@ -63,6 +63,7 @@ void setup() {
} }
void loop() { void loop() {
// Restart takes quite some time // Restart takes quite some time
// To skip it, call init() instead of restart() // To skip it, call init() instead of restart()
DBG("Initializing modem..."); DBG("Initializing modem...");
@ -133,6 +134,8 @@ void loop() {
#endif #endif
#ifdef CALL_TARGET #ifdef CALL_TARGET
DBG("Calling:", CALL_TARGET);
// This is NOT supported on M590 // This is NOT supported on M590
res = modem.callNumber(CALL_TARGET); res = modem.callNumber(CALL_TARGET);
DBG("Call:", res ? "OK" : "fail"); DBG("Call:", res ? "OK" : "fail");


Loading…
Cancel
Save