eric6/Documentation/Source/eric6.MicroPython.MicrobitDevices.html

changeset 8039
13fed1ed06e8
parent 8032
76375aa6bc04
child 8070
6758ba4670e1
equal deleted inserted replaced
8038:73ec029d4107 8039:13fed1ed06e8
112 <tr> 112 <tr>
113 <td><a href="#MicrobitDevice.deviceName">deviceName</a></td> 113 <td><a href="#MicrobitDevice.deviceName">deviceName</a></td>
114 <td>Public method to get the name of the device.</td> 114 <td>Public method to get the name of the device.</td>
115 </tr> 115 </tr>
116 <tr> 116 <tr>
117 <td><a href="#MicrobitDevice.downloadFirmware">downloadFirmware</a></td>
118 <td>Public method to download the device firmware.</td>
119 </tr>
120 <tr>
117 <td><a href="#MicrobitDevice.forceInterrupt">forceInterrupt</a></td> 121 <td><a href="#MicrobitDevice.forceInterrupt">forceInterrupt</a></td>
118 <td>Public method to determine the need for an interrupt when opening the serial connection.</td> 122 <td>Public method to determine the need for an interrupt when opening the serial connection.</td>
119 </tr> 123 </tr>
120 <tr> 124 <tr>
121 <td><a href="#MicrobitDevice.getDocumentationUrl">getDocumentationUrl</a></td> 125 <td><a href="#MicrobitDevice.getDocumentationUrl">getDocumentationUrl</a></td>
326 <dt>Return Type:</dt> 330 <dt>Return Type:</dt>
327 <dd> 331 <dd>
328 str 332 str
329 </dd> 333 </dd>
330 </dl> 334 </dl>
335 <a NAME="MicrobitDevice.downloadFirmware" ID="MicrobitDevice.downloadFirmware"></a>
336 <h4>MicrobitDevice.downloadFirmware</h4>
337 <b>downloadFirmware</b>(<i></i>)
338
339 <p>
340 Public method to download the device firmware.
341 </p>
331 <a NAME="MicrobitDevice.forceInterrupt" ID="MicrobitDevice.forceInterrupt"></a> 342 <a NAME="MicrobitDevice.forceInterrupt" ID="MicrobitDevice.forceInterrupt"></a>
332 <h4>MicrobitDevice.forceInterrupt</h4> 343 <h4>MicrobitDevice.forceInterrupt</h4>
333 <b>forceInterrupt</b>(<i></i>) 344 <b>forceInterrupt</b>(<i></i>)
334 345
335 <p> 346 <p>
367 str 378 str
368 </dd> 379 </dd>
369 </dl> 380 </dl>
370 <a NAME="MicrobitDevice.getFirmwareUrl" ID="MicrobitDevice.getFirmwareUrl"></a> 381 <a NAME="MicrobitDevice.getFirmwareUrl" ID="MicrobitDevice.getFirmwareUrl"></a>
371 <h4>MicrobitDevice.getFirmwareUrl</h4> 382 <h4>MicrobitDevice.getFirmwareUrl</h4>
372 <b>getFirmwareUrl</b>(<i></i>) 383 <b>getFirmwareUrl</b>(<i>fwtype="mpy"</i>)
373 384
374 <p> 385 <p>
375 Public method to get the device firmware download URL. 386 Public method to get the device firmware download URL.
376 </p> 387 </p>
388 <dl>
389
390 <dt><i>fwtype</i> (str (optional))</dt>
391 <dd>
392 type of firmware to download
393 (valid values are "mpy" and "dap"; defaults to "mpy")
394 </dd>
395 </dl>
377 <dl> 396 <dl>
378 <dt>Return:</dt> 397 <dt>Return:</dt>
379 <dd> 398 <dd>
380 firmware download URL of the device 399 firmware download URL of the device
381 </dd> 400 </dd>

eric ide

mercurial