120 <tr> |
120 <tr> |
121 <td><a href="#MicroPythonDevice.forceInterrupt">forceInterrupt</a></td> |
121 <td><a href="#MicroPythonDevice.forceInterrupt">forceInterrupt</a></td> |
122 <td>Public method to determine the need for an interrupt when opening the serial connection.</td> |
122 <td>Public method to determine the need for an interrupt when opening the serial connection.</td> |
123 </tr> |
123 </tr> |
124 <tr> |
124 <tr> |
|
125 <td><a href="#MicroPythonDevice.getDeviceType">getDeviceType</a></td> |
|
126 <td>Public method to get the device type.</td> |
|
127 </tr> |
|
128 <tr> |
125 <td><a href="#MicroPythonDevice.getDocumentationUrl">getDocumentationUrl</a></td> |
129 <td><a href="#MicroPythonDevice.getDocumentationUrl">getDocumentationUrl</a></td> |
126 <td>Public method to get the device documentation URL.</td> |
130 <td>Public method to get the device documentation URL.</td> |
127 </tr> |
131 </tr> |
128 <tr> |
132 <tr> |
129 <td><a href="#MicroPythonDevice.getDownloadMenuEntries">getDownloadMenuEntries</a></td> |
133 <td><a href="#MicroPythonDevice.getDownloadMenuEntries">getDownloadMenuEntries</a></td> |
196 <tr><td>None</td></tr> |
200 <tr><td>None</td></tr> |
197 </table> |
201 </table> |
198 |
202 |
199 <a NAME="MicroPythonDevice.__init__" ID="MicroPythonDevice.__init__"></a> |
203 <a NAME="MicroPythonDevice.__init__" ID="MicroPythonDevice.__init__"></a> |
200 <h4>MicroPythonDevice (Constructor)</h4> |
204 <h4>MicroPythonDevice (Constructor)</h4> |
201 <b>MicroPythonDevice</b>(<i>microPythonWidget, parent=None</i>) |
205 <b>MicroPythonDevice</b>(<i>microPythonWidget, deviceType, parent=None</i>) |
202 |
206 |
203 <p> |
207 <p> |
204 Constructor |
208 Constructor |
205 </p> |
209 </p> |
206 <dl> |
210 <dl> |
207 |
211 |
208 <dt><i>microPythonWidget</i> (MicroPythonWidget)</dt> |
212 <dt><i>microPythonWidget</i> (MicroPythonWidget)</dt> |
209 <dd> |
213 <dd> |
210 reference to the main MicroPython widget |
214 reference to the main MicroPython widget |
|
215 </dd> |
|
216 <dt><i>deviceType</i> (str)</dt> |
|
217 <dd> |
|
218 device type assigned to this device interface |
211 </dd> |
219 </dd> |
212 <dt><i>parent</i> (QObject)</dt> |
220 <dt><i>parent</i> (QObject)</dt> |
213 <dd> |
221 <dd> |
214 reference to the parent object |
222 reference to the parent object |
215 </dd> |
223 </dd> |
350 </dl> |
358 </dl> |
351 <dl> |
359 <dl> |
352 <dt>Return Type:</dt> |
360 <dt>Return Type:</dt> |
353 <dd> |
361 <dd> |
354 bool |
362 bool |
|
363 </dd> |
|
364 </dl> |
|
365 <a NAME="MicroPythonDevice.getDeviceType" ID="MicroPythonDevice.getDeviceType"></a> |
|
366 <h4>MicroPythonDevice.getDeviceType</h4> |
|
367 <b>getDeviceType</b>(<i></i>) |
|
368 |
|
369 <p> |
|
370 Public method to get the device type. |
|
371 </p> |
|
372 <dl> |
|
373 <dt>Return:</dt> |
|
374 <dd> |
|
375 type of the device |
|
376 </dd> |
|
377 </dl> |
|
378 <dl> |
|
379 <dt>Return Type:</dt> |
|
380 <dd> |
|
381 str |
355 </dd> |
382 </dd> |
356 </dl> |
383 </dl> |
357 <a NAME="MicroPythonDevice.getDocumentationUrl" ID="MicroPythonDevice.getDocumentationUrl"></a> |
384 <a NAME="MicroPythonDevice.getDocumentationUrl" ID="MicroPythonDevice.getDocumentationUrl"></a> |
358 <h4>MicroPythonDevice.getDocumentationUrl</h4> |
385 <h4>MicroPythonDevice.getDocumentationUrl</h4> |
359 <b>getDocumentationUrl</b>(<i></i>) |
386 <b>getDocumentationUrl</b>(<i></i>) |