25 lines
418 B
Python
25 lines
418 B
Python
from sx1262 import SX1262
|
|
from _sx126x import *
|
|
import time
|
|
|
|
from bluetooth_handler import BluetoothHandler
|
|
from lora_handler import LoRaHandler
|
|
|
|
LORA_ENABLED = False
|
|
|
|
|
|
def main():
|
|
bluetooth_handler = BluetoothHandler()
|
|
|
|
lora_handler = None
|
|
if LORA_ENABLED:
|
|
lora_handler = LoRaHandler()
|
|
|
|
print("Halting Pico...")
|
|
while True:
|
|
pass
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|