diff --git a/tp0/LoRaReceiver.ino b/tp0/LoRaReceiver/LoRaReceiver.ino similarity index 83% rename from tp0/LoRaReceiver.ino rename to tp0/LoRaReceiver/LoRaReceiver.ino index ccbb453..618bf2f 100644 --- a/tp0/LoRaReceiver.ino +++ b/tp0/LoRaReceiver/LoRaReceiver.ino @@ -5,9 +5,9 @@ void setup() { Serial.begin(9600); while (!Serial); - Serial.println("LoRa Receiver"); + Serial.println("Applejack is best pony ! Received by Pauline Srifi ~"); - if (!LoRa.begin(915E6)) { + if (!LoRa.begin(864E6)) { Serial.println("Starting LoRa failed!"); while (1); } diff --git a/tp0/LoRaSender.ino b/tp0/LoRaSender/LoRaSender.ino similarity index 65% rename from tp0/LoRaSender.ino rename to tp0/LoRaSender/LoRaSender.ino index a252ee5..66fd618 100644 --- a/tp0/LoRaSender.ino +++ b/tp0/LoRaSender/LoRaSender.ino @@ -7,9 +7,9 @@ void setup() { Serial.begin(9600); while (!Serial); - Serial.println("LoRa Sender"); + Serial.println("Applejack is best pony ! Send by Pauline Srifi ~"); - if (!LoRa.begin(915E6)) { + if (!LoRa.begin(864E6)) { Serial.println("Starting LoRa failed!"); while (1); } @@ -21,8 +21,9 @@ void loop() { // send packet LoRa.beginPacket(); - LoRa.print("hello "); + LoRa.print("Hey Applejack ! How many apple did you sold ?\n I sell "); LoRa.print(counter); + LoRa.println("apples"); LoRa.endPacket(); counter++;