src/eric7/Documentation/Source/eric7.MicroPython.EspDevices.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="EspDevice" ID="EspDevice"></a> 40 <a NAME="EspDevice" ID="EspDevice"></a>
37 <h2>EspDevice</h2> 41 <h2>EspDevice</h2>
457 <p> 461 <p>
458 Public method to enable the supported action buttons. 462 Public method to enable the supported action buttons.
459 </p> 463 </p>
460 <div align="right"><a href="#top">Up</a></div> 464 <div align="right"><a href="#top">Up</a></div>
461 <hr /> 465 <hr />
466 <hr />
467 <a NAME="createDevice" ID="createDevice"></a>
468 <h2>createDevice</h2>
469 <b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid</i>)
470
471 <p>
472 Function to instantiate a MicroPython device object.
473 </p>
474 <dl>
475
476 <dt><i>microPythonWidget</i> (MicroPythonWidget)</dt>
477 <dd>
478 reference to the main MicroPython widget
479 </dd>
480 <dt><i>deviceType</i> (str)</dt>
481 <dd>
482 device type assigned to this device interface
483 </dd>
484 <dt><i>vid</i> (int)</dt>
485 <dd>
486 vendor ID
487 </dd>
488 <dt><i>pid</i> (int)</dt>
489 <dd>
490 product ID
491 </dd>
492 </dl>
493 <dl>
494 <dt>Return:</dt>
495 <dd>
496 reference to the instantiated device object
497 </dd>
498 </dl>
499 <dl>
500 <dt>Return Type:</dt>
501 <dd>
502 EspDevice
503 </dd>
504 </dl>
505 <div align="right"><a href="#top">Up</a></div>
506 <hr />
462 </body></html> 507 </body></html>

eric ide

mercurial