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

branch
eric7
changeset 9753
a774e75a45ca
parent 9749
5d409223cf3f
child 9760
11245ac9c258
equal deleted inserted replaced
9752:2b9546c0cbd9 9753:a774e75a45ca
144 <tr> 144 <tr>
145 <td><a href="#MicroPythonCommandsInterface.getBoardInformation">getBoardInformation</a></td> 145 <td><a href="#MicroPythonCommandsInterface.getBoardInformation">getBoardInformation</a></td>
146 <td>Public method to get some information data of the connected board.</td> 146 <td>Public method to get some information data of the connected board.</td>
147 </tr> 147 </tr>
148 <tr> 148 <tr>
149 <td><a href="#MicroPythonCommandsInterface.getImplementation">getImplementation</a></td> 149 <td><a href="#MicroPythonCommandsInterface.getDeviceData">getDeviceData</a></td>
150 <td>Public method to get some implementation information of the connected device.</td> 150 <td>Public method to get some essential data for the connected board.</td>
151 </tr> 151 </tr>
152 <tr> 152 <tr>
153 <td><a href="#MicroPythonCommandsInterface.getModules">getModules</a></td> 153 <td><a href="#MicroPythonCommandsInterface.getModules">getModules</a></td>
154 <td>Public method to show a list of modules built into the firmware.</td> 154 <td>Public method to show a list of modules built into the firmware.</td>
155 </tr> 155 </tr>
206 <td>Public method to remove a file or directory recursively.</td> 206 <td>Public method to remove a file or directory recursively.</td>
207 </tr> 207 </tr>
208 <tr> 208 <tr>
209 <td><a href="#MicroPythonCommandsInterface.syncTime">syncTime</a></td> 209 <td><a href="#MicroPythonCommandsInterface.syncTime">syncTime</a></td>
210 <td>Public method to set the time of the connected device to the local computer's time.</td> 210 <td>Public method to set the time of the connected device to the local computer's time.</td>
211 </tr>
212 <tr>
213 <td><a href="#MicroPythonCommandsInterface.version">version</a></td>
214 <td>Public method to get the MicroPython version information of the connected device.</td>
215 </tr> 211 </tr>
216 <tr> 212 <tr>
217 <td><a href="#MicroPythonCommandsInterface.write">write</a></td> 213 <td><a href="#MicroPythonCommandsInterface.write">write</a></td>
218 <td>Public method to write data to the connected device.</td> 214 <td>Public method to write data to the connected device.</td>
219 </tr> 215 </tr>
484 <dt>Raises <b>OSError</b>:</dt> 480 <dt>Raises <b>OSError</b>:</dt>
485 <dd> 481 <dd>
486 raised to indicate an issue with the device 482 raised to indicate an issue with the device
487 </dd> 483 </dd>
488 </dl> 484 </dl>
489 <a NAME="MicroPythonCommandsInterface.getImplementation" ID="MicroPythonCommandsInterface.getImplementation"></a> 485 <a NAME="MicroPythonCommandsInterface.getDeviceData" ID="MicroPythonCommandsInterface.getDeviceData"></a>
490 <h4>MicroPythonCommandsInterface.getImplementation</h4> 486 <h4>MicroPythonCommandsInterface.getDeviceData</h4>
491 <b>getImplementation</b>(<i></i>) 487 <b>getDeviceData</b>(<i></i>)
492 488
493 <p> 489 <p>
494 Public method to get some implementation information of the connected 490 Public method to get some essential data for the connected board.
495 device. 491 </p>
496 </p> 492 <dl>
497 <dl> 493 <dt>Return:</dt>
498 <dt>Return:</dt> 494 <dd>
499 <dd> 495 dictionary containing the determined data
500 dictionary containing the implementation information
501 </dd> 496 </dd>
502 </dl> 497 </dl>
503 <dl> 498 <dl>
504 <dt>Return Type:</dt> 499 <dt>Return Type:</dt>
505 <dd> 500 <dd>
863 raised to indicate an issue with the device 858 raised to indicate an issue with the device
864 </dd> 859 </dd>
865 </dl> 860 </dl>
866 <a NAME="MicroPythonCommandsInterface.syncTime" ID="MicroPythonCommandsInterface.syncTime"></a> 861 <a NAME="MicroPythonCommandsInterface.syncTime" ID="MicroPythonCommandsInterface.syncTime"></a>
867 <h4>MicroPythonCommandsInterface.syncTime</h4> 862 <h4>MicroPythonCommandsInterface.syncTime</h4>
868 <b>syncTime</b>(<i>deviceType</i>) 863 <b>syncTime</b>(<i>deviceType, hasCPy=False</i>)
869 864
870 <p> 865 <p>
871 Public method to set the time of the connected device to the local 866 Public method to set the time of the connected device to the local
872 computer's time. 867 computer's time.
873 </p> 868 </p>
875 870
876 <dt><i>deviceType</i> (str)</dt> 871 <dt><i>deviceType</i> (str)</dt>
877 <dd> 872 <dd>
878 type of board to sync time to 873 type of board to sync time to
879 </dd> 874 </dd>
880 </dl> 875 <dt><i>hasCPy</i> (bool)</dt>
881 <dl> 876 <dd>
882 877 flag indicating that the device has CircuitPython loadede
883 <dt>Raises <b>OSError</b>:</dt> 878 (defaults to False)
884 <dd>
885 raised to indicate an issue with the device
886 </dd>
887 </dl>
888 <a NAME="MicroPythonCommandsInterface.version" ID="MicroPythonCommandsInterface.version"></a>
889 <h4>MicroPythonCommandsInterface.version</h4>
890 <b>version</b>(<i></i>)
891
892 <p>
893 Public method to get the MicroPython version information of the
894 connected device.
895 </p>
896 <dl>
897 <dt>Return:</dt>
898 <dd>
899 dictionary containing the version information
900 </dd>
901 </dl>
902 <dl>
903 <dt>Return Type:</dt>
904 <dd>
905 dict
906 </dd> 879 </dd>
907 </dl> 880 </dl>
908 <dl> 881 <dl>
909 882
910 <dt>Raises <b>OSError</b>:</dt> 883 <dt>Raises <b>OSError</b>:</dt>

eric ide

mercurial