Skip to content

Commit

Permalink
serial fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishaan-Datta committed Nov 9, 2024
1 parent 8c2dcfb commit 1f1d601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/utils/serial_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def display_ports():
# /dev/ttyUSB0 for linux?

def connect(port):
ser = serial.Serial('COM3', 115200, timeout=1) # Adjust USB port as needed
ser = serial.Serial(port, 115200, timeout=1) # Adjust USB port as needed
while True:
serialized_msg = str(1) + '\n' # Add a newline as a delimiter
ser.write(serialized_msg.encode())
Expand Down

0 comments on commit 1f1d601

Please sign in to comment.