Skip to content

Commit 44410b4

Browse files
Bump dvg-qdeviceio to 0.0.10
1 parent 0c0f9e6 commit 44410b4

File tree

5 files changed

+27
-22
lines changed

5 files changed

+27
-22
lines changed

Arduino_PyQt_demo_with_multithreading.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
__author__ = "Dennis van Gils"
77
__authoremail__ = "vangils.dennis@gmail.com"
88
__url__ = "https://github.com/Dennis-van-Gils/DvG_Arduino_PyQt_multithread_demo"
9-
__date__ = "08-06-2020"
10-
__version__ = "2.0.1"
9+
__date__ = "23-06-2020"
10+
__version__ = "2.0.2"
1111

1212
import os
1313
import sys
@@ -473,7 +473,7 @@ def DAQ_function():
473473
DEBUG = DEBUG,)
474474
# fmt: on
475475

476-
qdev_ard.create_worker_send(DEBUG=DEBUG)
476+
qdev_ard.create_worker_jobs(DEBUG=DEBUG)
477477

478478
# Connect signals to slots
479479
qdev_ard.signal_DAQ_updated.connect(update_GUI)

Arduino_PyQt_demo_with_multithreading__LARGE_TEXT.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
__author__ = "Dennis van Gils"
77
__authoremail__ = "vangils.dennis@gmail.com"
88
__url__ = "https://github.com/Dennis-van-Gils/DvG_Arduino_PyQt_multithread_demo"
9-
__date__ = "08-06-2020"
10-
__version__ = "2.0.1"
9+
__date__ = "23-06-2020"
10+
__version__ = "2.0.2"
1111

1212
import os
1313
import sys
@@ -305,7 +305,7 @@ def set_text_qpbt_record(self, text_str):
305305
@QtCore.pyqtSlot()
306306
def update_GUI():
307307
window.qlbl_cur_date_time.setText("%s %s" % (str_cur_date, str_cur_time))
308-
window.qlbl_update_counter.setText("%i" % qdev_ard.DAQ_update_counter)
308+
window.qlbl_update_counter.setText("%i" % qdev_ard.update_counter_DAQ)
309309
window.qlbl_DAQ_rate.setText("DAQ: %.1f Hz" % qdev_ard.obtained_DAQ_rate_Hz)
310310
window.qlin_reading_t.setText("%i" % state.time)
311311
window.qlin_reading_1.setText("%.4f" % state.reading_1)
@@ -496,14 +496,14 @@ def my_Arduino_DAQ_update():
496496
# Create workers
497497
# fmt: off
498498
qdev_ard.create_worker_DAQ(
499-
DAQ_function_to_run_each_update = my_Arduino_DAQ_update,
500-
DAQ_update_interval_ms = UPDATE_INTERVAL_ARDUINO,
501-
DAQ_timer_type = QtCore.Qt.PreciseTimer,
502-
DAQ_critical_not_alive_count = 3,
503-
DEBUG = DEBUG)
499+
DAQ_function = my_Arduino_DAQ_update,
500+
DAQ_interval_ms = UPDATE_INTERVAL_ARDUINO,
501+
DAQ_timer_type = QtCore.Qt.PreciseTimer,
502+
critical_not_alive_count = 3,
503+
DEBUG = DEBUG)
504504
# fmt: on
505505

506-
qdev_ard.create_worker_send(DEBUG=DEBUG)
506+
qdev_ard.create_worker_jobs(DEBUG=DEBUG)
507507

508508
# Connect signals to slots
509509
qdev_ard.signal_DAQ_updated.connect(update_GUI)

Arduino_PyQt_demo_with_multithreading__minimalistic.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
__author__ = "Dennis van Gils"
77
__authoremail__ = "vangils.dennis@gmail.com"
88
__url__ = "https://github.com/Dennis-van-Gils/DvG_Arduino_PyQt_multithread_demo"
9-
__date__ = "08-06-2020"
10-
__version__ = "2.0.1"
9+
__date__ = "23-06-2020"
10+
__version__ = "2.0.2"
1111

1212
import os
1313
import sys
@@ -217,11 +217,11 @@ def my_Arduino_DAQ_update():
217217
# Create workers
218218
# fmt: off
219219
qdev_ard.create_worker_DAQ(
220-
DAQ_function_to_run_each_update = my_Arduino_DAQ_update,
221-
DAQ_update_interval_ms = UPDATE_INTERVAL_ARDUINO,
222-
DAQ_timer_type = QtCore.Qt.PreciseTimer,
223-
DAQ_critical_not_alive_count = 3,
224-
DEBUG = DEBUG)
220+
DAQ_function = my_Arduino_DAQ_update,
221+
DAQ_interval_ms = UPDATE_INTERVAL_ARDUINO,
222+
DAQ_timer_type = QtCore.Qt.PreciseTimer,
223+
critical_not_alive_count = 3,
224+
DEBUG = DEBUG)
225225
# fmt: on
226226

227227
# Start workers

cpp_Arduino_wave_generator/platformio.ini

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
; Please visit documentation for the other options and examples
99
; https://docs.platformio.org/page/projectconf.html
1010
[platformio]
11-
env_default = adafruit_feather_m4
11+
env_default = adafruit_itsybitsy_m4
1212

1313
[env:mzeropro]
1414
platform = atmelsam
@@ -20,4 +20,9 @@ platform = atmelsam
2020
board = adafruit_feather_m4
2121
framework = arduino
2222
upload_protocol = sam-ba
23-
lib_ldf_mode = chain+
23+
lib_ldf_mode = chain+
24+
25+
[env:adafruit_itsybitsy_m4]
26+
platform = atmelsam
27+
board = adafruit_itsybitsy_m4
28+
framework = arduino

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ numpy>=1.15.0
44
pyqt5>=5.9.2
55
pyqtgraph>=0.10.0
66
dvg-debug-functions>=1.1.2
7-
dvg-qdeviceio==0.0.9
7+
dvg-qdeviceio==0.0.10

0 commit comments

Comments
 (0)