eric6/MicroPython/MicroPythonDevices.py

branch
micropython
changeset 7134
21d23ca51680
parent 7129
3cc19aec959a
child 7145
ceb3e8b242c1
equal deleted inserted replaced
7133:7aa4832b3730 7134:21d23ca51680
130 Public method to instantiate a specific MicroPython device interface. 130 Public method to instantiate a specific MicroPython device interface.
131 131
132 @param deviceType type of the device interface 132 @param deviceType type of the device interface
133 @type str 133 @type str
134 @param microPythonWidget reference to the main MicroPython widget 134 @param microPythonWidget reference to the main MicroPython widget
135 @type MicroPythonReplWidget 135 @type MicroPythonWidget
136 @return instantiated device interface 136 @return instantiated device interface
137 @rtype MicroPythonDevice 137 @rtype MicroPythonDevice
138 """ 138 """
139 if deviceType == "esp": 139 if deviceType == "esp":
140 from .EspDevices import EspDevice 140 from .EspDevices import EspDevice
157 def __init__(self, microPythonWidget, parent=None): 157 def __init__(self, microPythonWidget, parent=None):
158 """ 158 """
159 Constructor 159 Constructor
160 160
161 @param microPythonWidget reference to the main MicroPython widget 161 @param microPythonWidget reference to the main MicroPython widget
162 @type MicroPythonReplWidget 162 @type MicroPythonWidget
163 @param parent reference to the parent object 163 @param parent reference to the parent object
164 @type QObject 164 @type QObject
165 """ 165 """
166 super(MicroPythonDevice, self).__init__(parent) 166 super(MicroPythonDevice, self).__init__(parent)
167 167

eric ide

mercurial