Skip to content

Commit a5127a9

Browse files
committed
Merge branch 'master' into feature/digital-channels
2 parents dbce1f3 + eaaf1ad commit a5127a9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
print(f'Too many connected PPK2\'s: {ppk2s_connected}')
1818
exit()
1919

20-
ppk2_test = PPK2_API(ppk2_port)
20+
ppk2_test = PPK2_API(ppk2_port, timeout=1, write_timeout=1, exclusive=True)
2121
ppk2_test.get_modifiers()
2222
ppk2_test.set_source_voltage(3300)
2323

example_mp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
print(f'Too many connected PPK2\'s: {ppk2s_connected}')
1818
exit()
1919

20-
ppk2_test = PPK2_API(ppk2_port, buffer_max_size_seconds=70, buffer_chunk_seconds=0.5)
20+
ppk2_test = PPK2_API(ppk2_port, buffer_max_size_seconds=1, buffer_chunk_seconds=0.01, timeout=1, write_timeout=1, exclusive=True)
2121
ppk2_test.get_modifiers()
2222
ppk2_test.set_source_voltage(3300)
2323

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def read(*names, **kwargs):
2323

2424
setup(
2525
name="ppk2-api",
26-
version="0.0.2",
26+
version="0.9.1",
2727
description="API for Nordic Semiconductor's Power Profiler Kit II (PPK 2).",
2828
url="https://github.com/IRNAS/ppk2-api-python",
2929
packages=find_packages("src"),

0 commit comments

Comments
 (0)