void loop() {
// put your main code here, to run repeatedly:
if (LoRa_Serial.available()) {
Receive_Data();
}
if (millis() - previousMillis > interval) {
Send_Data();
previousMillis = millis();
}
}
void loop() {
// put your main code here, to run repeatedly:
if (LoRa_Serial.available()) {
Receive_Data();
}
if (millis() - previousMillis > interval) {
Send_Data();
previousMillis = millis();
}
}