94 <tr> |
94 <tr> |
95 <td><a href="#MicrobitDevice.__saveMain">__saveMain</a></td> |
95 <td><a href="#MicrobitDevice.__saveMain">__saveMain</a></td> |
96 <td>Private slot to copy the current script as 'main.py' onto the connected device.</td> |
96 <td>Private slot to copy the current script as 'main.py' onto the connected device.</td> |
97 </tr> |
97 </tr> |
98 <tr> |
98 <tr> |
99 <td><a href="#MicrobitDevice.__saveScriptToDevice">__saveScriptToDevice</a></td> |
|
100 <td>Private method to save the current script onto the connected device.</td> |
|
101 </tr> |
|
102 <tr> |
|
103 <td><a href="#MicrobitDevice.__showFirmwareVersions">__showFirmwareVersions</a></td> |
99 <td><a href="#MicrobitDevice.__showFirmwareVersions">__showFirmwareVersions</a></td> |
104 <td>Private slot to show the firmware version of the connected device and the available firmware version.</td> |
100 <td>Private slot to show the firmware version of the connected device and the available firmware version.</td> |
105 </tr> |
101 </tr> |
106 <tr> |
102 <tr> |
107 <td><a href="#MicrobitDevice._getSetTimeCode">_getSetTimeCode</a></td> |
103 <td><a href="#MicrobitDevice._getSetTimeCode">_getSetTimeCode</a></td> |
310 |
306 |
311 <p> |
307 <p> |
312 Private slot to copy the current script as 'main.py' onto the |
308 Private slot to copy the current script as 'main.py' onto the |
313 connected device. |
309 connected device. |
314 </p> |
310 </p> |
315 <a NAME="MicrobitDevice.__saveScriptToDevice" ID="MicrobitDevice.__saveScriptToDevice"></a> |
|
316 <h4>MicrobitDevice.__saveScriptToDevice</h4> |
|
317 <b>__saveScriptToDevice</b>(<i>scriptName=""</i>) |
|
318 |
|
319 <p> |
|
320 Private method to save the current script onto the connected |
|
321 device. |
|
322 </p> |
|
323 <dl> |
|
324 |
|
325 <dt><i>scriptName</i> (str)</dt> |
|
326 <dd> |
|
327 name of the file on the device |
|
328 </dd> |
|
329 </dl> |
|
330 <a NAME="MicrobitDevice.__showFirmwareVersions" ID="MicrobitDevice.__showFirmwareVersions"></a> |
311 <a NAME="MicrobitDevice.__showFirmwareVersions" ID="MicrobitDevice.__showFirmwareVersions"></a> |
331 <h4>MicrobitDevice.__showFirmwareVersions</h4> |
312 <h4>MicrobitDevice.__showFirmwareVersions</h4> |
332 <b>__showFirmwareVersions</b>(<i></i>) |
313 <b>__showFirmwareVersions</b>(<i></i>) |
333 |
314 |
334 <p> |
315 <p> |