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() {
199199 while (LoRa.available()) {
200200 contents += (char)LoRa.read();
201201 }
202-
202+
203+ Serial.println(contents);
203204 // print RSSI of packet
204205 Serial.print("' with RSSI ");
205206 Serial.println(LoRa.packetRssi());
206- Serial.println(contents);
207-
207+
208208 if(contents.equals(buttonPress)){
209209 x = !x;
210210 }
@@ -306,10 +306,10 @@ void loop() {
306306 contents += (char)LoRa.read();
307307 }
308308
309+ Serial.println(contents);
309310 // print RSSI of packet
310311 Serial.print("' with RSSI ");
311312 Serial.println(LoRa.packetRssi());
312- Serial.println(contents);
313313
314314 if(contents.equals(buttonPress)){
315315 x = !x;
You can’t perform that action at this time.
0 commit comments