[SX127x] Added missing listen mode command (#72)
This commit is contained in:
parent
1b96a00cb5
commit
2d7790d658
1 changed files with 4 additions and 0 deletions
|
@ -76,6 +76,7 @@ void setup() {
|
||||||
// lora.sleep()
|
// lora.sleep()
|
||||||
// lora.transmit();
|
// lora.transmit();
|
||||||
// lora.receive();
|
// lora.receive();
|
||||||
|
// lora.readData();
|
||||||
// lora.scanChannel();
|
// lora.scanChannel();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -153,6 +154,9 @@ void loop() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// put module back to listen mode
|
||||||
|
lora.startReceive();
|
||||||
|
|
||||||
// we're ready to receive more packets,
|
// we're ready to receive more packets,
|
||||||
// enable interrupt service routine
|
// enable interrupt service routine
|
||||||
enableInterrupt = true;
|
enableInterrupt = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue