diff --git a/examples/LoRaWAN/Starter/main.cpp b/examples/LoRaWAN/Starter/Starter.ino similarity index 90% rename from examples/LoRaWAN/Starter/main.cpp rename to examples/LoRaWAN/Starter/Starter.ino index a2ca1265..ced6020f 100644 --- a/examples/LoRaWAN/Starter/main.cpp +++ b/examples/LoRaWAN/Starter/Starter.ino @@ -20,7 +20,7 @@ void setup() { void loop() { - Serial.print(F("Sending uplink #")); + Serial.println(F("Sending uplink")); // Read some inputs uint8_t Digital1 = digitalRead(2); @@ -36,9 +36,6 @@ void loop() { int state = node.sendReceive(uplinkPayload, sizeof(uplinkPayload)); debug((state != RADIOLIB_ERR_RX_TIMEOUT) && (state != RADIOLIB_ERR_NONE), F("Error in sendReceive"), state, false); - // Complete serial line with the uplink counter - Serial.println(node.getFcntUp()); - // Wait until next uplink - observing legal & TTN FUP constraints delay(uplinkInterval); }