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

branch
eric7
changeset 9738
4ae976ee5339
parent 9209
b99e7fd55fd3
child 9747
b7976868d5b0
equal deleted inserted replaced
9737:5e05b2089daf 9738:4ae976ee5339
658 <div align="right"><a href="#top">Up</a></div> 658 <div align="right"><a href="#top">Up</a></div>
659 <hr /> 659 <hr />
660 <hr /> 660 <hr />
661 <a NAME="getDevice" ID="getDevice"></a> 661 <a NAME="getDevice" ID="getDevice"></a>
662 <h2>getDevice</h2> 662 <h2>getDevice</h2>
663 <b>getDevice</b>(<i>deviceType, microPythonWidget, vid, pid</i>) 663 <b>getDevice</b>(<i>deviceType, microPythonWidget, vid, pid, boardName=""</i>)
664 664
665 <p> 665 <p>
666 Public method to instantiate a specific MicroPython device interface. 666 Public method to instantiate a specific MicroPython device interface.
667 </p> 667 </p>
668 <dl> 668 <dl>
680 vendor ID (only used for deviceType 'generic') 680 vendor ID (only used for deviceType 'generic')
681 </dd> 681 </dd>
682 <dt><i>pid</i> (int)</dt> 682 <dt><i>pid</i> (int)</dt>
683 <dd> 683 <dd>
684 product ID (only used for deviceType 'generic') 684 product ID (only used for deviceType 'generic')
685 </dd>
686 <dt><i>boardName</i> (str (optional))</dt>
687 <dd>
688 name of the board (defaults to "")
685 </dd> 689 </dd>
686 </dl> 690 </dl>
687 <dl> 691 <dl>
688 <dt>Return:</dt> 692 <dt>Return:</dt>
689 <dd> 693 <dd>

eric ide

mercurial