Arduino SigFox for MKRFox1200 - SigFox.end()

Description

De-initializes the Sigfox library and module

Syntax

SigFox.end();

Returns

None

Example

#include "SigFox.h"
#include "ArduinoLowPower.h"

void setup() {
  Serial.begin(115200);
  while (!Serial) {};

  // Uncomment this line and comment begin() if you are working with a custom board
  //if (!SigFox.begin(SPI1, 30, 31, 33, 28, LED_BUILTIN)) {
  if (!SigFox.begin()) {
    Serial.println("Shield error or not present!");
    return;
  else
    SigFox.end();

}

void loop(){
}