From c0ecde28173fef1db71f81b61c0323bc6433247c Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 12 Jun 2024 19:46:27 -0700 Subject: [PATCH] Update pong-bot.py --- pong-bot.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pong-bot.py b/pong-bot.py index 30d7ac8..5d3cc0f 100644 --- a/pong-bot.py +++ b/pong-bot.py @@ -6,12 +6,11 @@ import signal from pubsub import pub +import meshtastic.serial_interface +import meshtastic.tcp_interface +import meshtastic.ble_interface # Uncomment the interface you want to use depending on your device connection -import meshtastic.serial_interface -#import meshtastic.tcp_interface -#import meshtastic.ble_interface - interface = meshtastic.serial_interface.SerialInterface() #serial interface #interface=meshtastic.tcp_interface.TCPInterface(hostname="192.168.0.1") # IP of your device #interface=meshtastic.ble_interface.BLEInterface("AA:BB:CC:DD:EE:FF") # BLE interface