lbm micropython
1.0.0
LORA Basic Modem Integration für Mikropython
Wichtig
Dies ist ein Proof-of-Concept, der nicht für die tatsächliche Verwendung bereit ist.
Kopieren Sie lbm.mpy in das Gerät:
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 -Variablen