Skip to content

Commit

Permalink
Scans only for USB serial devices
Browse files Browse the repository at this point in the history
  • Loading branch information
berndporr committed Nov 3, 2023
1 parent 88f9a93 commit 000bf06
Show file tree
Hide file tree
Showing 2 changed files with 634 additions and 626 deletions.
7 changes: 7 additions & 0 deletions examples/scan.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import serial
import serial.tools.list_ports

l = serial.tools.list_ports.comports()
print(l)
for ll in l:
print(ll.description)
Loading

0 comments on commit 000bf06

Please sign in to comment.