diff -r 6091145e189e -r ae9232bf4854 src/eric7/Documentation/Source/eric7.MicroPython.EspDevices.html --- a/src/eric7/Documentation/Source/eric7.MicroPython.EspDevices.html Wed Nov 09 15:17:05 2022 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.EspDevices.html Wed Nov 09 15:18:07 2022 +0100 @@ -29,7 +29,11 @@ <h3>Functions</h3> <table> -<tr><td>None</td></tr> + +<tr> +<td><a href="#createDevice">createDevice</a></td> +<td>Function to instantiate a MicroPython device object.</td> +</tr> </table> <hr /> <hr /> @@ -459,4 +463,45 @@ </p> <div align="right"><a href="#top">Up</a></div> <hr /> +<hr /> +<a NAME="createDevice" ID="createDevice"></a> +<h2>createDevice</h2> +<b>createDevice</b>(<i>microPythonWidget, deviceType, vid, pid</i>) + +<p> + Function to instantiate a MicroPython device object. +</p> +<dl> + +<dt><i>microPythonWidget</i> (MicroPythonWidget)</dt> +<dd> +reference to the main MicroPython widget +</dd> +<dt><i>deviceType</i> (str)</dt> +<dd> +device type assigned to this device interface +</dd> +<dt><i>vid</i> (int)</dt> +<dd> +vendor ID +</dd> +<dt><i>pid</i> (int)</dt> +<dd> +product ID +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +reference to the instantiated device object +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +EspDevice +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> </body></html> \ No newline at end of file