18 from E5Gui import E5MessageBox |
18 from E5Gui import E5MessageBox |
19 from E5Gui.E5ProcessDialog import E5ProcessDialog |
19 from E5Gui.E5ProcessDialog import E5ProcessDialog |
20 from E5Gui.E5Application import e5App |
20 from E5Gui.E5Application import e5App |
21 |
21 |
22 from .MicroPythonDevices import MicroPythonDevice |
22 from .MicroPythonDevices import MicroPythonDevice |
23 from .MicroPythonReplWidget import HAS_QTCHART |
23 from .MicroPythonWidget import HAS_QTCHART |
24 |
24 |
25 |
25 |
26 class EspDevice(MicroPythonDevice): |
26 class EspDevice(MicroPythonDevice): |
27 """ |
27 """ |
28 Class implementing the device for ESP32 and ESP8266 based boards. |
28 Class implementing the device for ESP32 and ESP8266 based boards. |
30 def __init__(self, microPythonWidget, parent=None): |
30 def __init__(self, microPythonWidget, parent=None): |
31 """ |
31 """ |
32 Constructor |
32 Constructor |
33 |
33 |
34 @param microPythonWidget reference to the main MicroPython widget |
34 @param microPythonWidget reference to the main MicroPython widget |
35 @type MicroPythonReplWidget |
35 @type MicroPythonWidget |
36 @param parent reference to the parent object |
36 @param parent reference to the parent object |
37 @type QObject |
37 @type QObject |
38 """ |
38 """ |
39 super(EspDevice, self).__init__(microPythonWidget, parent) |
39 super(EspDevice, self).__init__(microPythonWidget, parent) |
40 |
40 |