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

branch
eric7
changeset 10684
58c7f23ae1cb
parent 10479
856476537696
child 11006
a671918232f3
equal deleted inserted replaced
10683:779cda568acb 10684:58c7f23ae1cb
1330 <div align="right"><a href="#top">Up</a></div> 1330 <div align="right"><a href="#top">Up</a></div>
1331 <hr /> 1331 <hr />
1332 <hr /> 1332 <hr />
1333 <a NAME="createDevice" ID="createDevice"></a> 1333 <a NAME="createDevice" ID="createDevice"></a>
1334 <h2>createDevice</h2> 1334 <h2>createDevice</h2>
1335 <b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName, serialNumber</i>) 1335 <b>createDevice</b>(<i>microPythonWidget, deviceType, _vid, _pid, _boardName, _serialNumber</i>)
1336 <p> 1336 <p>
1337 Function to instantiate a MicroPython device object. 1337 Function to instantiate a MicroPython device object.
1338 </p> 1338 </p>
1339 1339
1340 <dl> 1340 <dl>
1345 </dd> 1345 </dd>
1346 <dt><i>deviceType</i> (str)</dt> 1346 <dt><i>deviceType</i> (str)</dt>
1347 <dd> 1347 <dd>
1348 device type assigned to this device interface 1348 device type assigned to this device interface
1349 </dd> 1349 </dd>
1350 <dt><i>vid</i> (int)</dt> 1350 <dt><i>_vid</i> (int)</dt>
1351 <dd> 1351 <dd>
1352 vendor ID 1352 vendor ID (unused)
1353 </dd> 1353 </dd>
1354 <dt><i>pid</i> (int)</dt> 1354 <dt><i>_pid</i> (int)</dt>
1355 <dd> 1355 <dd>
1356 product ID 1356 product ID (unused)
1357 </dd> 1357 </dd>
1358 <dt><i>boardName</i> (str)</dt> 1358 <dt><i>_boardName</i> (str)</dt>
1359 <dd> 1359 <dd>
1360 name of the board 1360 name of the board (unused)
1361 </dd> 1361 </dd>
1362 <dt><i>serialNumber</i> (str)</dt> 1362 <dt><i>_serialNumber</i> (str)</dt>
1363 <dd> 1363 <dd>
1364 serial number of the board 1364 serial number of the board (unused)
1365 </dd> 1365 </dd>
1366 </dl> 1366 </dl>
1367 <dl> 1367 <dl>
1368 <dt>Return:</dt> 1368 <dt>Return:</dt>
1369 <dd> 1369 <dd>

eric ide

mercurial