LoRa-Training/main_-lcd.py

14 lines
335 B
Python
Raw Normal View History

from simplelora import sender, receiver
import lora_pingpong
to_run = 0 # 0: ping-pong as responder | 1: ping-pong as initializer | 2: sender | 3: receiver
if to_run == 0:
lora_pingpong.run_wo_lcd_resp()
if to_run == 1:
lora_pingpong.run_wo_lcd_init()
elif to_run == 2:
sender.run()
elif to_run == 3:
receiver.run()