21 <body> |
21 <body> |
22 <a NAME="top" ID="top"></a> |
22 <a NAME="top" ID="top"></a> |
23 <h1>eric6.MicroPython.EspDevices</h1> |
23 <h1>eric6.MicroPython.EspDevices</h1> |
24 |
24 |
25 <p> |
25 <p> |
26 Module implementing some utility functions and the MicroPythonDevice base |
26 Module implementing the device interface class for ESP32 and ESP8266 based |
27 class. |
27 boards. |
28 </p> |
28 </p> |
29 <h3>Global Attributes</h3> |
29 <h3>Global Attributes</h3> |
30 |
30 |
31 <table> |
31 <table> |
32 <tr><td>None</td></tr> |
32 <tr><td>None</td></tr> |
168 <tr><td>None</td></tr> |
168 <tr><td>None</td></tr> |
169 </table> |
169 </table> |
170 |
170 |
171 <a NAME="EspDevice.__init__" ID="EspDevice.__init__"></a> |
171 <a NAME="EspDevice.__init__" ID="EspDevice.__init__"></a> |
172 <h4>EspDevice (Constructor)</h4> |
172 <h4>EspDevice (Constructor)</h4> |
173 <b>EspDevice</b>(<i>microPythonWidget, parent=None</i>) |
173 <b>EspDevice</b>(<i>microPythonWidget, deviceType, parent=None</i>) |
174 |
174 |
175 <p> |
175 <p> |
176 Constructor |
176 Constructor |
177 </p> |
177 </p> |
178 <dl> |
178 <dl> |
179 |
179 |
180 <dt><i>microPythonWidget</i> (MicroPythonWidget)</dt> |
180 <dt><i>microPythonWidget</i> (MicroPythonWidget)</dt> |
181 <dd> |
181 <dd> |
182 reference to the main MicroPython widget |
182 reference to the main MicroPython widget |
|
183 </dd> |
|
184 <dt><i>deviceType</i> (str)</dt> |
|
185 <dd> |
|
186 device type assigned to this device interface |
183 </dd> |
187 </dd> |
184 <dt><i>parent</i> (QObject)</dt> |
188 <dt><i>parent</i> (QObject)</dt> |
185 <dd> |
189 <dd> |
186 reference to the parent object |
190 reference to the parent object |
187 </dd> |
191 </dd> |