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

branch
eric7
changeset 9503
ae9232bf4854
parent 9209
b99e7fd55fd3
child 9738
4ae976ee5339
equal deleted inserted replaced
9502:6091145e189e 9503:ae9232bf4854
26 </tr> 26 </tr>
27 </table> 27 </table>
28 <h3>Functions</h3> 28 <h3>Functions</h3>
29 29
30 <table> 30 <table>
31 <tr><td>None</td></tr> 31
32 <tr>
33 <td><a href="#createDevice">createDevice</a></td>
34 <td>Function to instantiate a MicroPython device object.</td>
35 </tr>
32 </table> 36 </table>
33 <hr /> 37 <hr />
34 <hr /> 38 <hr />
35 <a NAME="CircuitPythonDevice" ID="CircuitPythonDevice"></a> 39 <a NAME="CircuitPythonDevice" ID="CircuitPythonDevice"></a>
36 <h2>CircuitPythonDevice</h2> 40 <h2>CircuitPythonDevice</h2>
487 bool 491 bool
488 </dd> 492 </dd>
489 </dl> 493 </dl>
490 <div align="right"><a href="#top">Up</a></div> 494 <div align="right"><a href="#top">Up</a></div>
491 <hr /> 495 <hr />
496 <hr />
497 <a NAME="createDevice" ID="createDevice"></a>
498 <h2>createDevice</h2>
499 <b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid</i>)
500
501 <p>
502 Function to instantiate a MicroPython device object.
503 </p>
504 <dl>
505
506 <dt><i>microPythonWidget</i> (MicroPythonWidget)</dt>
507 <dd>
508 reference to the main MicroPython widget
509 </dd>
510 <dt><i>deviceType</i> (str)</dt>
511 <dd>
512 device type assigned to this device interface
513 </dd>
514 <dt><i>vid</i> (int)</dt>
515 <dd>
516 vendor ID
517 </dd>
518 <dt><i>pid</i> (int)</dt>
519 <dd>
520 product ID
521 </dd>
522 </dl>
523 <dl>
524 <dt>Return:</dt>
525 <dd>
526 reference to the instantiated device object
527 </dd>
528 </dl>
529 <dl>
530 <dt>Return Type:</dt>
531 <dd>
532 CircuitPythonDevice
533 </dd>
534 </dl>
535 <div align="right"><a href="#top">Up</a></div>
536 <hr />
492 </body></html> 537 </body></html>

eric ide

mercurial