From a926d5e13ad6548c683eefce88d52394a05f8115 Mon Sep 17 00:00:00 2001 From: Nick McCloud Date: Sat, 2 Mar 2024 14:01:32 +0000 Subject: [PATCH] Change the names to protect the innocent --- examples/LoRaWAN/Starter/{main.cpp => Starter.ino} | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) rename examples/LoRaWAN/Starter/{main.cpp => Starter.ino} (90%) 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); }