mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-07 17:32:52 +02:00
Update simulator.py
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ def get_name_from_number(nodeID, length='short', interface=1):
|
||||
# # Function to handle, or the project in test
|
||||
|
||||
|
||||
def example_handler(nodeID, message):
|
||||
def example_handler(message, nodeID, deviceID):
|
||||
readableTime = time.ctime(time.time())
|
||||
msg = "Hello World! "
|
||||
msg += f" You are Node ID: {nodeID} "
|
||||
|
||||
Reference in New Issue
Block a user