src/eric7/Documentation/Source/eric7.MicroPython.GenericMicroPythonDevices.html

branch
eric7
changeset 9503
ae9232bf4854
parent 9209
b99e7fd55fd3
child 9738
4ae976ee5339
equal deleted inserted replaced
9502:6091145e189e 9503:ae9232bf4854
27 </tr> 27 </tr>
28 </table> 28 </table>
29 <h3>Functions</h3> 29 <h3>Functions</h3>
30 30
31 <table> 31 <table>
32 <tr><td>None</td></tr> 32
33 <tr>
34 <td><a href="#createDevice">createDevice</a></td>
35 <td>Function to instantiate a MicroPython device object.</td>
36 </tr>
33 </table> 37 </table>
34 <hr /> 38 <hr />
35 <hr /> 39 <hr />
36 <a NAME="GenericMicroPythonDevice" ID="GenericMicroPythonDevice"></a> 40 <a NAME="GenericMicroPythonDevice" ID="GenericMicroPythonDevice"></a>
37 <h2>GenericMicroPythonDevice</h2> 41 <h2>GenericMicroPythonDevice</h2>
350 bool 354 bool
351 </dd> 355 </dd>
352 </dl> 356 </dl>
353 <div align="right"><a href="#top">Up</a></div> 357 <div align="right"><a href="#top">Up</a></div>
354 <hr /> 358 <hr />
359 <hr />
360 <a NAME="createDevice" ID="createDevice"></a>
361 <h2>createDevice</h2>
362 <b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid</i>)
363
364 <p>
365 Function to instantiate a MicroPython device object.
366 </p>
367 <dl>
368
369 <dt><i>microPythonWidget</i> (MicroPythonWidget)</dt>
370 <dd>
371 reference to the main MicroPython widget
372 </dd>
373 <dt><i>deviceType</i> (str)</dt>
374 <dd>
375 device type assigned to this device interface
376 </dd>
377 <dt><i>vid</i> (int)</dt>
378 <dd>
379 vendor ID
380 </dd>
381 <dt><i>pid</i> (int)</dt>
382 <dd>
383 product ID
384 </dd>
385 </dl>
386 <dl>
387 <dt>Return:</dt>
388 <dd>
389 reference to the instantiated device object
390 </dd>
391 </dl>
392 <dl>
393 <dt>Return Type:</dt>
394 <dd>
395 GenericMicroPythonDevice
396 </dd>
397 </dl>
398 <div align="right"><a href="#top">Up</a></div>
399 <hr />
355 </body></html> 400 </body></html>

eric ide

mercurial