eric6/MicroPython/EspDevices.py

changeset 8117
aaa5e0eacd4e
parent 8096
5425a9072300
child 8119
1653972f2de5
equal deleted inserted replaced
8116:ef415e4efd70 8117:aaa5e0eacd4e
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.
29 """ 29 """
30 def __init__(self, microPythonWidget, parent=None): 30 def __init__(self, microPythonWidget, deviceType, 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 MicroPythonWidget 35 @type MicroPythonWidget
36 @param deviceType device type assigned to this device interface
37 @type str
36 @param parent reference to the parent object 38 @param parent reference to the parent object
37 @type QObject 39 @type QObject
38 """ 40 """
39 super(EspDevice, self).__init__(microPythonWidget, parent) 41 super(EspDevice, self).__init__(microPythonWidget, deviceType, parent)
40 42
41 def setButtons(self): 43 def setButtons(self):
42 """ 44 """
43 Public method to enable the supported action buttons. 45 Public method to enable the supported action buttons.
44 """ 46 """

eric ide

mercurial