176 <tr> |
176 <tr> |
177 <td><a href="#MicroPythonCommandsInterface.mkdir">mkdir</a></td> |
177 <td><a href="#MicroPythonCommandsInterface.mkdir">mkdir</a></td> |
178 <td>Public method to create a new directory.</td> |
178 <td>Public method to create a new directory.</td> |
179 </tr> |
179 </tr> |
180 <tr> |
180 <tr> |
|
181 <td><a href="#MicroPythonCommandsInterface.probeDevice">probeDevice</a></td> |
|
182 <td>Public method to check the device is responding.</td> |
|
183 </tr> |
|
184 <tr> |
181 <td><a href="#MicroPythonCommandsInterface.put">put</a></td> |
185 <td><a href="#MicroPythonCommandsInterface.put">put</a></td> |
182 <td>Public method to copy a local file to the connected device.</td> |
186 <td>Public method to copy a local file to the connected device.</td> |
183 </tr> |
187 </tr> |
184 <tr> |
188 <tr> |
185 <td><a href="#MicroPythonCommandsInterface.pwd">pwd</a></td> |
189 <td><a href="#MicroPythonCommandsInterface.pwd">pwd</a></td> |
684 <dt>Raises <b>OSError</b>:</dt> |
688 <dt>Raises <b>OSError</b>:</dt> |
685 <dd> |
689 <dd> |
686 raised to indicate an issue with the device |
690 raised to indicate an issue with the device |
687 </dd> |
691 </dd> |
688 </dl> |
692 </dl> |
|
693 <a NAME="MicroPythonCommandsInterface.probeDevice" ID="MicroPythonCommandsInterface.probeDevice"></a> |
|
694 <h4>MicroPythonCommandsInterface.probeDevice</h4> |
|
695 <b>probeDevice</b>(<i></i>) |
|
696 |
|
697 <p> |
|
698 Public method to check the device is responding. |
|
699 </p> |
|
700 <p> |
|
701 If the device has not been flashed with a MicroPython formware, the |
|
702 probe will fail. |
|
703 </p> |
|
704 <dl> |
|
705 <dt>Return:</dt> |
|
706 <dd> |
|
707 flag indicating a communicating MicroPython device |
|
708 </dd> |
|
709 </dl> |
|
710 <dl> |
|
711 <dt>Return Type:</dt> |
|
712 <dd> |
|
713 bool |
|
714 </dd> |
|
715 </dl> |
689 <a NAME="MicroPythonCommandsInterface.put" ID="MicroPythonCommandsInterface.put"></a> |
716 <a NAME="MicroPythonCommandsInterface.put" ID="MicroPythonCommandsInterface.put"></a> |
690 <h4>MicroPythonCommandsInterface.put</h4> |
717 <h4>MicroPythonCommandsInterface.put</h4> |
691 <b>put</b>(<i>hostFileName, deviceFileName=None</i>) |
718 <b>put</b>(<i>hostFileName, deviceFileName=None</i>) |
692 |
719 |
693 <p> |
720 <p> |