File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
content/hardware/01.mkr/01.boards/mkr-wan-1310/tutorials/lora-button-press Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -199,12 +199,12 @@ void loop() {
199
199
while (LoRa.available()) {
200
200
contents += (char)LoRa.read();
201
201
}
202
-
202
+
203
+ Serial.println(contents);
203
204
// print RSSI of packet
204
205
Serial.print("' with RSSI ");
205
206
Serial.println(LoRa.packetRssi());
206
- Serial.println(contents);
207
-
207
+
208
208
if(contents.equals(buttonPress)){
209
209
x = !x;
210
210
}
@@ -306,10 +306,10 @@ void loop() {
306
306
contents += (char)LoRa.read();
307
307
}
308
308
309
+ Serial.println(contents);
309
310
// print RSSI of packet
310
311
Serial.print("' with RSSI ");
311
312
Serial.println(LoRa.packetRssi());
312
- Serial.println(contents);
313
313
314
314
if(contents.equals(buttonPress)){
315
315
x = !x;
You can’t perform that action at this time.
0 commit comments