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

branch
eric7
changeset 10684
58c7f23ae1cb
parent 10479
856476537696
equal deleted inserted replaced
10683:779cda568acb 10684:58c7f23ae1cb
1467 <div align="right"><a href="#top">Up</a></div> 1467 <div align="right"><a href="#top">Up</a></div>
1468 <hr /> 1468 <hr />
1469 <hr /> 1469 <hr />
1470 <a NAME="createDevice" ID="createDevice"></a> 1470 <a NAME="createDevice" ID="createDevice"></a>
1471 <h2>createDevice</h2> 1471 <h2>createDevice</h2>
1472 <b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName, serialNumber</i>) 1472 <b>createDevice</b>(<i>microPythonWidget, deviceType, _vid, _pid, _boardName, _serialNumber</i>)
1473 <p> 1473 <p>
1474 Function to instantiate a MicroPython device object. 1474 Function to instantiate a MicroPython device object.
1475 </p> 1475 </p>
1476 1476
1477 <dl> 1477 <dl>
1482 </dd> 1482 </dd>
1483 <dt><i>deviceType</i> (str)</dt> 1483 <dt><i>deviceType</i> (str)</dt>
1484 <dd> 1484 <dd>
1485 device type assigned to this device interface 1485 device type assigned to this device interface
1486 </dd> 1486 </dd>
1487 <dt><i>vid</i> (int)</dt> 1487 <dt><i>_vid</i> (int)</dt>
1488 <dd> 1488 <dd>
1489 vendor ID 1489 vendor ID (unused)
1490 </dd> 1490 </dd>
1491 <dt><i>pid</i> (int)</dt> 1491 <dt><i>_pid</i> (int)</dt>
1492 <dd> 1492 <dd>
1493 product ID 1493 product ID (unused)
1494 </dd> 1494 </dd>
1495 <dt><i>boardName</i> (str)</dt> 1495 <dt><i>_boardName</i> (str)</dt>
1496 <dd> 1496 <dd>
1497 name of the board 1497 name of the board (unused)
1498 </dd> 1498 </dd>
1499 <dt><i>serialNumber</i> (str)</dt> 1499 <dt><i>_serialNumber</i> (str)</dt>
1500 <dd> 1500 <dd>
1501 serial number of the board 1501 serial number of the board (unused)
1502 </dd> 1502 </dd>
1503 </dl> 1503 </dl>
1504 <dl> 1504 <dl>
1505 <dt>Return:</dt> 1505 <dt>Return:</dt>
1506 <dd> 1506 <dd>

eric ide

mercurial