155 <tr><td>None</td></tr> |
155 <tr><td>None</td></tr> |
156 </table> |
156 </table> |
157 |
157 |
158 <a NAME="CircuitPythonDevice.__init__" ID="CircuitPythonDevice.__init__"></a> |
158 <a NAME="CircuitPythonDevice.__init__" ID="CircuitPythonDevice.__init__"></a> |
159 <h4>CircuitPythonDevice (Constructor)</h4> |
159 <h4>CircuitPythonDevice (Constructor)</h4> |
160 <b>CircuitPythonDevice</b>(<i>microPythonWidget, parent=None</i>) |
160 <b>CircuitPythonDevice</b>(<i>microPythonWidget, deviceType, parent=None</i>) |
161 |
161 |
162 <p> |
162 <p> |
163 Constructor |
163 Constructor |
164 </p> |
164 </p> |
165 <dl> |
165 <dl> |
166 |
166 |
167 <dt><i>microPythonWidget</i> (MicroPythonWidget)</dt> |
167 <dt><i>microPythonWidget</i> (MicroPythonWidget)</dt> |
168 <dd> |
168 <dd> |
169 reference to the main MicroPython widget |
169 reference to the main MicroPython widget |
|
170 </dd> |
|
171 <dt><i>deviceType</i> (str)</dt> |
|
172 <dd> |
|
173 device type assigned to this device interface |
170 </dd> |
174 </dd> |
171 <dt><i>parent</i> (QObject)</dt> |
175 <dt><i>parent</i> (QObject)</dt> |
172 <dd> |
176 <dd> |
173 reference to the parent object |
177 reference to the parent object |
174 </dd> |
178 </dd> |