src/eric7/Documentation/Source/eric7.MicroPython.RP2040Devices.html

branch
eric7
changeset 9753
a774e75a45ca
parent 9747
b7976868d5b0
child 9755
1a09700229e7
equal deleted inserted replaced
9752:2b9546c0cbd9 9753:a774e75a45ca
66 <tr> 66 <tr>
67 <td><a href="#RP2040Device.__activateBootloader">__activateBootloader</a></td> 67 <td><a href="#RP2040Device.__activateBootloader">__activateBootloader</a></td>
68 <td>Private method to switch the board into 'bootloader' mode.</td> 68 <td>Private method to switch the board into 'bootloader' mode.</td>
69 </tr> 69 </tr>
70 <tr> 70 <tr>
71 <td><a href="#RP2040Device.__createRP2040Menu">__createRP2040Menu</a></td>
72 <td>Private method to create the microbit submenu.</td>
73 </tr>
74 <tr>
71 <td><a href="#RP2040Device.__firmwareVersionResponse">__firmwareVersionResponse</a></td> 75 <td><a href="#RP2040Device.__firmwareVersionResponse">__firmwareVersionResponse</a></td>
72 <td>Private method handling the response of the latest version request.</td> 76 <td>Private method handling the response of the latest version request.</td>
73 </tr> 77 </tr>
74 <tr> 78 <tr>
75 <td><a href="#RP2040Device.__flashPython">__flashPython</a></td> 79 <td><a href="#RP2040Device.__flashPython">__flashPython</a></td>
161 <b>__activateBootloader</b>(<i></i>) 165 <b>__activateBootloader</b>(<i></i>)
162 166
163 <p> 167 <p>
164 Private method to switch the board into 'bootloader' mode. 168 Private method to switch the board into 'bootloader' mode.
165 </p> 169 </p>
170 <a NAME="RP2040Device.__createRP2040Menu" ID="RP2040Device.__createRP2040Menu"></a>
171 <h4>RP2040Device.__createRP2040Menu</h4>
172 <b>__createRP2040Menu</b>(<i></i>)
173
174 <p>
175 Private method to create the microbit submenu.
176 </p>
166 <a NAME="RP2040Device.__firmwareVersionResponse" ID="RP2040Device.__firmwareVersionResponse"></a> 177 <a NAME="RP2040Device.__firmwareVersionResponse" ID="RP2040Device.__firmwareVersionResponse"></a>
167 <h4>RP2040Device.__firmwareVersionResponse</h4> 178 <h4>RP2040Device.__firmwareVersionResponse</h4>
168 <b>__firmwareVersionResponse</b>(<i>reply, implementation</i>) 179 <b>__firmwareVersionResponse</b>(<i>reply</i>)
169 180
170 <p> 181 <p>
171 Private method handling the response of the latest version request. 182 Private method handling the response of the latest version request.
172 </p> 183 </p>
173 <dl> 184 <dl>
174 185
175 <dt><i>reply</i> (QNetworkReply)</dt> 186 <dt><i>reply</i> (QNetworkReply)</dt>
176 <dd> 187 <dd>
177 reference to the reply object 188 reference to the reply object
178 </dd>
179 <dt><i>implementation</i> (dict)</dt>
180 <dd>
181 dictionary containing the implementation data of the
182 connected device
183 </dd> 189 </dd>
184 </dl> 190 </dl>
185 <a NAME="RP2040Device.__flashPython" ID="RP2040Device.__flashPython"></a> 191 <a NAME="RP2040Device.__flashPython" ID="RP2040Device.__flashPython"></a>
186 <h4>RP2040Device.__flashPython</h4> 192 <h4>RP2040Device.__flashPython</h4>
187 <b>__flashPython</b>(<i></i>) 193 <b>__flashPython</b>(<i></i>)
412 <div align="right"><a href="#top">Up</a></div> 418 <div align="right"><a href="#top">Up</a></div>
413 <hr /> 419 <hr />
414 <hr /> 420 <hr />
415 <a NAME="createDevice" ID="createDevice"></a> 421 <a NAME="createDevice" ID="createDevice"></a>
416 <h2>createDevice</h2> 422 <h2>createDevice</h2>
417 <b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName</i>) 423 <b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid, boardName, serialNumber</i>)
418 424
419 <p> 425 <p>
420 Function to instantiate a MicroPython device object. 426 Function to instantiate a MicroPython device object.
421 </p> 427 </p>
422 <dl> 428 <dl>
438 product ID 444 product ID
439 </dd> 445 </dd>
440 <dt><i>boardName</i> (str)</dt> 446 <dt><i>boardName</i> (str)</dt>
441 <dd> 447 <dd>
442 name of the board 448 name of the board
449 </dd>
450 <dt><i>serialNumber</i> (str)</dt>
451 <dd>
452 serial number of the board
443 </dd> 453 </dd>
444 </dl> 454 </dl>
445 <dl> 455 <dl>
446 <dt>Return:</dt> 456 <dt>Return:</dt>
447 <dd> 457 <dd>

eric ide

mercurial