API XBee傳送並接收字串訊息
This commit is contained in:
@@ -35,6 +35,7 @@ def send_messages():
|
|||||||
# Start the message sending thread
|
# Start the message sending thread
|
||||||
send_thread = threading.Thread(target=send_messages, daemon=True)
|
send_thread = threading.Thread(target=send_messages, daemon=True)
|
||||||
send_thread.start()
|
send_thread.start()
|
||||||
|
|
||||||
print("Broadcast chat mode activated. Type a message and press Enter to send.\n")
|
print("Broadcast chat mode activated. Type a message and press Enter to send.\n")
|
||||||
|
|
||||||
# Keep the program running
|
# Keep the program running
|
||||||
|
|||||||
Reference in New Issue
Block a user