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

changeset 8070
6758ba4670e1
parent 8039
13fed1ed06e8
child 8083
a2e14cda6f3f
equal deleted inserted replaced
8069:1176a936efa4 8070:6758ba4670e1
124 <tr> 124 <tr>
125 <td><a href="#MicroPythonDevice.getDocumentationUrl">getDocumentationUrl</a></td> 125 <td><a href="#MicroPythonDevice.getDocumentationUrl">getDocumentationUrl</a></td>
126 <td>Public method to get the device documentation URL.</td> 126 <td>Public method to get the device documentation URL.</td>
127 </tr> 127 </tr>
128 <tr> 128 <tr>
129 <td><a href="#MicroPythonDevice.getDownloadMenuEntries">getDownloadMenuEntries</a></td>
130 <td>Public method to retrieve the entries for the downloads menu.</td>
131 </tr>
132 <tr>
129 <td><a href="#MicroPythonDevice.getFirmwareUrl">getFirmwareUrl</a></td> 133 <td><a href="#MicroPythonDevice.getFirmwareUrl">getFirmwareUrl</a></td>
130 <td>Public method to get the device firmware download URL.</td> 134 <td>Public method to get the device firmware download URL.</td>
131 </tr> 135 </tr>
132 <tr> 136 <tr>
133 <td><a href="#MicroPythonDevice.getWorkspace">getWorkspace</a></td> 137 <td><a href="#MicroPythonDevice.getWorkspace">getWorkspace</a></td>
150 <td>Public method to check, if the device supports time commands.</td> 154 <td>Public method to check, if the device supports time commands.</td>
151 </tr> 155 </tr>
152 <tr> 156 <tr>
153 <td><a href="#MicroPythonDevice.runScript">runScript</a></td> 157 <td><a href="#MicroPythonDevice.runScript">runScript</a></td>
154 <td>Public method to run the given Python script.</td> 158 <td>Public method to run the given Python script.</td>
159 </tr>
160 <tr>
161 <td><a href="#MicroPythonDevice.selectDeviceDirectory">selectDeviceDirectory</a></td>
162 <td>Public method to select the device directory from a list of detected ones.</td>
155 </tr> 163 </tr>
156 <tr> 164 <tr>
157 <td><a href="#MicroPythonDevice.sendCommands">sendCommands</a></td> 165 <td><a href="#MicroPythonDevice.sendCommands">sendCommands</a></td>
158 <td>Public method to send a list of commands to the device.</td> 166 <td>Public method to send a list of commands to the device.</td>
159 </tr> 167 </tr>
359 <dt>Return Type:</dt> 367 <dt>Return Type:</dt>
360 <dd> 368 <dd>
361 str 369 str
362 </dd> 370 </dd>
363 </dl> 371 </dl>
372 <a NAME="MicroPythonDevice.getDownloadMenuEntries" ID="MicroPythonDevice.getDownloadMenuEntries"></a>
373 <h4>MicroPythonDevice.getDownloadMenuEntries</h4>
374 <b>getDownloadMenuEntries</b>(<i></i>)
375
376 <p>
377 Public method to retrieve the entries for the downloads menu.
378 </p>
379 <dl>
380 <dt>Return:</dt>
381 <dd>
382 list of tuples with menu text and URL to be opened for each
383 entry
384 </dd>
385 </dl>
386 <dl>
387 <dt>Return Type:</dt>
388 <dd>
389 list of tuple of (str, str)
390 </dd>
391 </dl>
364 <a NAME="MicroPythonDevice.getFirmwareUrl" ID="MicroPythonDevice.getFirmwareUrl"></a> 392 <a NAME="MicroPythonDevice.getFirmwareUrl" ID="MicroPythonDevice.getFirmwareUrl"></a>
365 <h4>MicroPythonDevice.getFirmwareUrl</h4> 393 <h4>MicroPythonDevice.getFirmwareUrl</h4>
366 <b>getFirmwareUrl</b>(<i></i>) 394 <b>getFirmwareUrl</b>(<i></i>)
367 395
368 <p> 396 <p>
478 <dl> 506 <dl>
479 507
480 <dt><i>script</i> (str)</dt> 508 <dt><i>script</i> (str)</dt>
481 <dd> 509 <dd>
482 script to be executed 510 script to be executed
511 </dd>
512 </dl>
513 <a NAME="MicroPythonDevice.selectDeviceDirectory" ID="MicroPythonDevice.selectDeviceDirectory"></a>
514 <h4>MicroPythonDevice.selectDeviceDirectory</h4>
515 <b>selectDeviceDirectory</b>(<i>deviceDirectories</i>)
516
517 <p>
518 Public method to select the device directory from a list of detected
519 ones.
520 </p>
521 <dl>
522
523 <dt><i>deviceDirectories</i> (list of str)</dt>
524 <dd>
525 list of directories to select from
526 </dd>
527 </dl>
528 <dl>
529 <dt>Return:</dt>
530 <dd>
531 selected directory or an empty string
532 </dd>
533 </dl>
534 <dl>
535 <dt>Return Type:</dt>
536 <dd>
537 str
483 </dd> 538 </dd>
484 </dl> 539 </dl>
485 <a NAME="MicroPythonDevice.sendCommands" ID="MicroPythonDevice.sendCommands"></a> 540 <a NAME="MicroPythonDevice.sendCommands" ID="MicroPythonDevice.sendCommands"></a>
486 <h4>MicroPythonDevice.sendCommands</h4> 541 <h4>MicroPythonDevice.sendCommands</h4>
487 <b>sendCommands</b>(<i>commandsList</i>) 542 <b>sendCommands</b>(<i>commandsList</i>)

eric ide

mercurial