Komut
beginPacket()
Açıklama
Paket gönderme işlemine başlar
Sözdizimi
SigFox .beginPacket ();
Parametreler
Yok
Misal
#include <SigFox.h>
#include <ArduinoLowPower.h>
void setup() {
Serial.begin(115200);
while (!Serial) {};
if (!SigFox.begin()) {
Serial.println("Shield error or not present!");
return;
}
void loop(){
SigFox.begin();
SigFox.beginPacket();
SigFox.print("123456789012");
SigFox.endPacket();
while(1);
}
#include <ArduinoLowPower.h>
void setup() {
Serial.begin(115200);
while (!Serial) {};
if (!SigFox.begin()) {
Serial.println("Shield error or not present!");
return;
}
void loop(){
SigFox.begin();
SigFox.beginPacket();
SigFox.print("123456789012");
SigFox.endPacket();
while(1);
}
Ayrıca bakınız
- begin()
- write()
- print()
- endPacket()
- parsePacket()
- statusCode()
- AtmVersion()
- SigVersion()
- ID()
- PAC()
- reset()
- internalTemperature()
- debug()
- noDebug()
- end()
- peek()
- available()
- read()