src/eric7/Documentation/Source/eric7.MicroPython.Devices.PyBoardDevices.html

branch
eric7
changeset 10684
58c7f23ae1cb
parent 10479
856476537696
equal deleted inserted replaced
10683:779cda568acb 10684:58c7f23ae1cb
645 <div align="right"><a href="#top">Up</a></div> 645 <div align="right"><a href="#top">Up</a></div>
646 <hr /> 646 <hr />
647 <hr /> 647 <hr />
648 <a NAME="createDevice" ID="createDevice"></a> 648 <a NAME="createDevice" ID="createDevice"></a>
649 <h2>createDevice</h2> 649 <h2>createDevice</h2>
650 <b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName, serialNumber</i>) 650 <b>createDevice</b>(<i>microPythonWidget, deviceType, _vid, _pid, _boardName, _serialNumber</i>)
651 <p> 651 <p>
652 Function to instantiate a MicroPython device object. 652 Function to instantiate a MicroPython device object.
653 </p> 653 </p>
654 654
655 <dl> 655 <dl>
660 </dd> 660 </dd>
661 <dt><i>deviceType</i> (str)</dt> 661 <dt><i>deviceType</i> (str)</dt>
662 <dd> 662 <dd>
663 device type assigned to this device interface 663 device type assigned to this device interface
664 </dd> 664 </dd>
665 <dt><i>vid</i> (int)</dt> 665 <dt><i>_vid</i> (int)</dt>
666 <dd> 666 <dd>
667 vendor ID 667 vendor ID (unused)
668 </dd> 668 </dd>
669 <dt><i>pid</i> (int)</dt> 669 <dt><i>_pid</i> (int)</dt>
670 <dd> 670 <dd>
671 product ID 671 product ID (unused)
672 </dd> 672 </dd>
673 <dt><i>boardName</i> (str)</dt> 673 <dt><i>_boardName</i> (str)</dt>
674 <dd> 674 <dd>
675 name of the board 675 name of the board (unused)
676 </dd> 676 </dd>
677 <dt><i>serialNumber</i> (str)</dt> 677 <dt><i>_serialNumber</i> (str)</dt>
678 <dd> 678 <dd>
679 serial number of the board 679 serial number of the board (unused)
680 </dd> 680 </dd>
681 </dl> 681 </dl>
682 <dl> 682 <dl>
683 <dt>Return:</dt> 683 <dt>Return:</dt>
684 <dd> 684 <dd>

eric ide

mercurial