We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 899bae5 commit f302f0aCopy full SHA for f302f0a
ProgressBarCircular con ardino/comunicacion_serial.py
@@ -1,14 +1,13 @@
1
-# ProgressBar Circular Arduino y PySide2
+# ProgressBar Circular Arduino y PyQt5
2
# @autor: Magno Efren
3
# Youtube: https://www.youtube.com/c/MagnoEfren
4
5
-
6
-from PySide2.QtCore import Signal, QObject # pyqtSignal para pyqt5
+from PyQt5.QtCore import QObject, pyqtSignal,pyqtSlot
7
import serial, serial.tools.list_ports
8
from threading import Thread, Event
9
10
class Comunicacion(QObject):
11
- datos_recibidos = Signal(str)
+ datos_recibidos = pyqtSignal(str)
12
13
def __init__(self):
14
super().__init__()
@@ -56,4 +55,4 @@ def stop_hilo(self):
56
55
if(self.hilo is not None):
57
self.alive.clear()
58
self.hilo.join()
59
- self.hilo = None
+ self.hilo = None
0 commit comments