Skip to content

Commit

Permalink
Updated docs for exact device connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomaz committed Dec 23, 2023
1 parent 42c9093 commit bcf3f40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Connect to specified GMC device with exact USB port/device/com.
```pycon
import pygmc

gc = pygmc.GMC320.connect(port='/dev/ttyUSB0')
gc = pygmc.GMC320('/dev/ttyUSB0')

cpm = gc.get_cpm()
print(cpm)
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Connect to specified GMC device with exact USB port/device/com.
import pygmc
gc = pygmc.GMC320.connect(port='/dev/ttyUSB0')
gc = pygmc.GMC320('/dev/ttyUSB0')
cpm = gc.get_cpm()
print(cpm)
Expand Down

0 comments on commit bcf3f40

Please sign in to comment.