Files

25 lines
418 B
Python
Raw Permalink Normal View History

from sx1262 import SX1262
from _sx126x import *
import time
2026-03-07 08:40:56 +11:00
from bluetooth_handler import BluetoothHandler
2026-03-07 08:43:54 +11:00
from lora_handler import LoRaHandler
2026-03-07 08:40:56 +11:00
LORA_ENABLED = False
2026-03-07 08:43:54 +11:00
def main():
2026-03-07 08:40:56 +11:00
bluetooth_handler = BluetoothHandler()
2026-03-07 08:43:54 +11:00
lora_handler = None
2026-03-07 08:40:56 +11:00
if LORA_ENABLED:
2026-03-07 08:43:54 +11:00
lora_handler = LoRaHandler()
2026-03-07 08:40:56 +11:00
2026-03-07 09:15:45 +11:00
print("Halting Pico...")
while True:
pass
if __name__ == "__main__":
main()