|
|
@ -70,6 +70,7 @@ void loop()
|
|
|
|
SerialUSB.println(msg.d3, HEX);
|
|
|
|
SerialUSB.println(msg.d3, HEX);
|
|
|
|
SerialUSB.println(" ");
|
|
|
|
SerialUSB.println(" ");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for(int i=0; i<3; i++){
|
|
|
|
SerialUSB.println("Sending packet !");
|
|
|
|
SerialUSB.println("Sending packet !");
|
|
|
|
LoRa.beginPacket();
|
|
|
|
LoRa.beginPacket();
|
|
|
|
LoRa.write((uint8_t*)&msg, 12);
|
|
|
|
LoRa.write((uint8_t*)&msg, 12);
|
|
|
@ -77,4 +78,6 @@ void loop()
|
|
|
|
|
|
|
|
|
|
|
|
SerialUSB.println("-----------------------------");
|
|
|
|
SerialUSB.println("-----------------------------");
|
|
|
|
delay(4000);
|
|
|
|
delay(4000);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
delay(10000);
|
|
|
|
}
|
|
|
|
}
|
|
|
|