--- a/src/eric7/Documentation/Source/eric7.MicroPython.PyBoardDevices.html Wed Nov 09 15:17:05 2022 +0100 +++ b/src/eric7/Documentation/Source/eric7.MicroPython.PyBoardDevices.html Wed Nov 09 15:18:07 2022 +0100 @@ -28,7 +28,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 /> @@ -563,4 +567,45 @@ </dl> <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> +PyBoardDevice +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> </body></html> \ No newline at end of file