eric6/Documentation/Source/eric6.MicroPython.MicroPythonDevices.html

changeset 8124
98b57e2f731a
parent 8098
36d5f6786a9f
child 8134
a5c4ac339f2a
--- a/eric6/Documentation/Source/eric6.MicroPython.MicroPythonDevices.html	Sat Feb 20 14:39:55 2021 +0100
+++ b/eric6/Documentation/Source/eric6.MicroPython.MicroPythonDevices.html	Sat Feb 20 14:41:47 2021 +0100
@@ -122,6 +122,10 @@
 <td>Public method to determine the need for an interrupt when opening the serial connection.</td>
 </tr>
 <tr>
+<td><a href="#MicroPythonDevice.getDeviceType">getDeviceType</a></td>
+<td>Public method to get the device type.</td>
+</tr>
+<tr>
 <td><a href="#MicroPythonDevice.getDocumentationUrl">getDocumentationUrl</a></td>
 <td>Public method to get the device documentation URL.</td>
 </tr>
@@ -198,7 +202,7 @@
 
 <a NAME="MicroPythonDevice.__init__" ID="MicroPythonDevice.__init__"></a>
 <h4>MicroPythonDevice (Constructor)</h4>
-<b>MicroPythonDevice</b>(<i>microPythonWidget, parent=None</i>)
+<b>MicroPythonDevice</b>(<i>microPythonWidget, deviceType, parent=None</i>)
 
 <p>
         Constructor
@@ -209,6 +213,10 @@
 <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>parent</i> (QObject)</dt>
 <dd>
 reference to the parent object
@@ -354,6 +362,25 @@
 bool
 </dd>
 </dl>
+<a NAME="MicroPythonDevice.getDeviceType" ID="MicroPythonDevice.getDeviceType"></a>
+<h4>MicroPythonDevice.getDeviceType</h4>
+<b>getDeviceType</b>(<i></i>)
+
+<p>
+        Public method to get the device type.
+</p>
+<dl>
+<dt>Return:</dt>
+<dd>
+type of the device
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+str
+</dd>
+</dl>
 <a NAME="MicroPythonDevice.getDocumentationUrl" ID="MicroPythonDevice.getDocumentationUrl"></a>
 <h4>MicroPythonDevice.getDocumentationUrl</h4>
 <b>getDocumentationUrl</b>(<i></i>)

eric ide

mercurial