Main.py 479 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from PyQt5 import QtCore,QtGui,QtWidgets  # importação de classes
import pyqtgraph
import serial
import serial.tools.list_ports
import time
import sys
from SerialManager import SerialManager
from CalibracaoP import Ui_MainWindow
from SystemEngine import SystemEngine
from Graph import Graph

if __name__ == '__main__':

    engine=SystemEngine()
    timer = QtCore.QTimer()  #
    timer.timeout.connect(engine.updateData)  #
    timer.start(0)
    sys.exit(engine.app.exec_())