12 lines
228 B
Python
12 lines
228 B
Python
from simplelora import sender, receiver
|
|
import lora_pingpong
|
|
|
|
to_run = 0 # 0: ping-pong | 1: sender | 2: receiver
|
|
|
|
if to_run == 0:
|
|
lora_pingpong.run()
|
|
elif to_run == 1:
|
|
sender.run()
|
|
elif to_run == 2:
|
|
receiver.run()
|