LoRaRF-Python icon indicating copy to clipboard operation
LoRaRF-Python copied to clipboard

Wait for packet without spinning 100% cpu?

Open jamcinnes2 opened this issue 8 months ago • 0 comments
trafficstars

Hi i've looked at the examples but the answer to my question is not clear to me. Which method calls would I use to wait for a packet to arrive, with a timeout, without using 100% CPU while I wait? Using this I get 100% cpu usage:

LoRa.request(LoRa.RX_CONTINUOUS) LoRa.wait(30)

Thanks and great work on this library!

jamcinnes2 avatar Mar 05 '25 23:03 jamcinnes2