now act like a real station
This commit is contained in:
parent
cb78e64251
commit
0fc0588334
@ -70,11 +70,14 @@ void loop()
|
||||
SerialUSB.println(msg.d3, HEX);
|
||||
SerialUSB.println(" ");
|
||||
|
||||
SerialUSB.println("Sending packet !");
|
||||
LoRa.beginPacket();
|
||||
LoRa.write((uint8_t*)&msg, 12);
|
||||
LoRa.endPacket();
|
||||
|
||||
SerialUSB.println("-----------------------------");
|
||||
delay(4000);
|
||||
for(int i=0; i<3; i++){
|
||||
SerialUSB.println("Sending packet !");
|
||||
LoRa.beginPacket();
|
||||
LoRa.write((uint8_t*)&msg, 12);
|
||||
LoRa.endPacket();
|
||||
|
||||
SerialUSB.println("-----------------------------");
|
||||
delay(4000);
|
||||
}
|
||||
delay(10000);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user