73 <td><a href="#MicrobitDevice.__init__">MicrobitDevice</a></td> |
73 <td><a href="#MicrobitDevice.__init__">MicrobitDevice</a></td> |
74 <td>Constructor</td> |
74 <td>Constructor</td> |
75 </tr> |
75 </tr> |
76 <tr> |
76 <tr> |
77 <td><a href="#MicrobitDevice.__flashMicroPython">__flashMicroPython</a></td> |
77 <td><a href="#MicrobitDevice.__flashMicroPython">__flashMicroPython</a></td> |
78 <td>Private slot to flash the default MicroPython firmware to the device.</td> |
78 <td>Private slot to flash MicroPython or the DAPLink firmware to the device.</td> |
79 </tr> |
79 </tr> |
80 <tr> |
80 <tr> |
81 <td><a href="#MicrobitDevice.__resetDevice">__resetDevice</a></td> |
81 <td><a href="#MicrobitDevice.__resetDevice">__resetDevice</a></td> |
82 <td>Private slot to reset the connected device.</td> |
82 <td>Private slot to reset the connected device.</td> |
83 </tr> |
83 </tr> |
170 reference to the parent object |
170 reference to the parent object |
171 </dd> |
171 </dd> |
172 </dl> |
172 </dl> |
173 <a NAME="MicrobitDevice.__flashMicroPython" ID="MicrobitDevice.__flashMicroPython"></a> |
173 <a NAME="MicrobitDevice.__flashMicroPython" ID="MicrobitDevice.__flashMicroPython"></a> |
174 <h4>MicrobitDevice.__flashMicroPython</h4> |
174 <h4>MicrobitDevice.__flashMicroPython</h4> |
175 <b>__flashMicroPython</b>(<i></i>) |
175 <b>__flashMicroPython</b>(<i>firmware=False</i>) |
176 |
176 |
177 <p> |
177 <p> |
178 Private slot to flash the default MicroPython firmware to the device. |
178 Private slot to flash MicroPython or the DAPLink firmware to the |
179 </p> |
179 device. |
|
180 </p> |
|
181 <dl> |
|
182 |
|
183 <dt><i>firmware</i> (bool)</dt> |
|
184 <dd> |
|
185 flag indicating to flash the DAPLink firmware |
|
186 </dd> |
|
187 </dl> |
180 <a NAME="MicrobitDevice.__resetDevice" ID="MicrobitDevice.__resetDevice"></a> |
188 <a NAME="MicrobitDevice.__resetDevice" ID="MicrobitDevice.__resetDevice"></a> |
181 <h4>MicrobitDevice.__resetDevice</h4> |
189 <h4>MicrobitDevice.__resetDevice</h4> |
182 <b>__resetDevice</b>(<i></i>) |
190 <b>__resetDevice</b>(<i></i>) |
183 |
191 |
184 <p> |
192 <p> |