Skip to content

Commit f9c5393

Browse files
committed
update examples in readme
1 parent 5b6e0e7 commit f9c5393

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Note that not all commands of [MeCom](https://www.meerstetter.ch/customer-center
1818
#### USB
1919

2020
```python
21+
from meer_tec.interfaces import USB
22+
from meer_tec.tec import TEC
2123
usb = USB("COM3")
2224
tec = TEC(usb, 0)
2325
```
@@ -26,6 +28,8 @@ tec = TEC(usb, 0)
2628
Create a connection to the XPort and pass it as an argument to one of the TECs
2729

2830
```python
31+
from meer_tec.interfaces import USB
32+
from meer_tec.tec import TEC
2933
xp = XPort('192.168.1.123')
3034
tec3 = TEC(xp, 3)
3135
```

0 commit comments

Comments
 (0)