tp0
This commit is contained in:
parent
2a71c12b13
commit
cdb9dc2121
@ -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);
|
||||
}
|
@ -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++;
|
Loading…
x
Reference in New Issue
Block a user