Skip to content

Commit b6fc787

Browse files
committed
close HS port
1 parent ba90c7a commit b6fc787

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

sciopy/EIT_16_32_64_128.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ def connect_device_FS(self, port: str, baudrate: int = 9600, timeout: int = 1):
9797

9898
print("Connection to", self.device.name, "is established.")
9999

100+
def disconnect_device(self):
101+
"""
102+
Disconnect serial device
103+
"""
104+
self.device.close()
105+
100106
def SystemMessageCallback_usb_fs(self):
101107
"""
102108
!Only used if a full-speed connection is established!

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="sciopy",
5-
version="0.8.1",
5+
version="0.8.2",
66
packages=find_packages(),
77
author="Jacob Peter Thönes",
88
author_email="jacob.thoenes@uni-rostock.de",

0 commit comments

Comments
 (0)