Komut
end()
Açıklama
Sigfox kitaplığını ve modülünü ilk durumuna döndürür
Sözdizimi
SigFox .end ();
İadeler
Yok
Misal
#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(){
}
#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(){
}
Ayrıca bakınız
- begin()
- beginPacket()
- write()
- print()
- endPacket()
- parsePacket()
- statusCode()
- AtmVersion()
- SigVersion()
- ID()
- PAC()
- reset()
- internalTemperature()
- debug()
- noDebug()
- peek()
- available()
- read()