Skip to content
Snippets Groups Projects
Commit e351efff authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

...

parent 9b0551a3
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/python3
import serial.tools.list_ports
i = 0
for port in serial.tools.list_ports.comports():
i += 1
print(f'Port {i}: {port.device}')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment