lbm micropython
1.0.0
LoRa Basic Modem integration for MicroPython
Important
This is a Proof-of-Concept, not ready for actual use.
Copy lbm.mpy to device:
mpremote cp lbm.mpy :In MicroPython REPL:
import lbm
import asyncio
lora = lbm.LoRaWAN()
async def lora_task():
while True:
n = lora.poll()
await asyncio.sleep_ms(n)
asyncio.run(asyncio.gather(
lora_task(),
))machine.SPI / machine.Pin.bss variables