Skip to content

Commit

Permalink
Moved line of code
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminDannegard committed Sep 25, 2024
1 parent 62eaa90 commit b130452
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ void loop() {
while (LoRa.available()) {
contents += (char)LoRa.read();
}
Serial.println(contents);
// print RSSI of packet
Serial.print("' with RSSI ");
Serial.println(LoRa.packetRssi());
Serial.println(contents);
if(contents.equals(buttonPress)){
x = !x;
}
Expand Down Expand Up @@ -306,10 +306,10 @@ void loop() {
contents += (char)LoRa.read();
}
Serial.println(contents);
// print RSSI of packet
Serial.print("' with RSSI ");
Serial.println(LoRa.packetRssi());
Serial.println(contents);
if(contents.equals(buttonPress)){
x = !x;
Expand Down

0 comments on commit b130452

Please sign in to comment.