Reference   Language | Libraries | Comparison | Changes

SigFox

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(){
}

See also



Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.