eric6/Documentation/Source/eric6.MicroPython.MicroPythonDevices.html

changeset 8083
a2e14cda6f3f
parent 8070
6758ba4670e1
child 8098
36d5f6786a9f
equal deleted inserted replaced
8082:2242a6a1d786 8083:a2e14cda6f3f
622 <div align="right"><a href="#top">Up</a></div> 622 <div align="right"><a href="#top">Up</a></div>
623 <hr /> 623 <hr />
624 <hr /> 624 <hr />
625 <a NAME="getDevice" ID="getDevice"></a> 625 <a NAME="getDevice" ID="getDevice"></a>
626 <h2>getDevice</h2> 626 <h2>getDevice</h2>
627 <b>getDevice</b>(<i>deviceType, microPythonWidget</i>) 627 <b>getDevice</b>(<i>deviceType, microPythonWidget, vid, pid</i>)
628 628
629 <p> 629 <p>
630 Public method to instantiate a specific MicroPython device interface. 630 Public method to instantiate a specific MicroPython device interface.
631 </p> 631 </p>
632 <dl> 632 <dl>
636 type of the device interface 636 type of the device interface
637 </dd> 637 </dd>
638 <dt><i>microPythonWidget</i> (MicroPythonWidget)</dt> 638 <dt><i>microPythonWidget</i> (MicroPythonWidget)</dt>
639 <dd> 639 <dd>
640 reference to the main MicroPython widget 640 reference to the main MicroPython widget
641 </dd>
642 <dt><i>vid</i> (int)</dt>
643 <dd>
644 vendor ID (only used for deviceType 'generic')
645 </dd>
646 <dt><i>pid</i> (int)</dt>
647 <dd>
648 product ID (only used for deviceType 'generic')
641 </dd> 649 </dd>
642 </dl> 650 </dl>
643 <dl> 651 <dl>
644 <dt>Return:</dt> 652 <dt>Return:</dt>
645 <dd> 653 <dd>

eric ide

mercurial