124 <tr><td>None</td></tr> |
124 <tr><td>None</td></tr> |
125 </table> |
125 </table> |
126 |
126 |
127 <a NAME="GenericMicroPythonDevice.__init__" ID="GenericMicroPythonDevice.__init__"></a> |
127 <a NAME="GenericMicroPythonDevice.__init__" ID="GenericMicroPythonDevice.__init__"></a> |
128 <h4>GenericMicroPythonDevice (Constructor)</h4> |
128 <h4>GenericMicroPythonDevice (Constructor)</h4> |
129 <b>GenericMicroPythonDevice</b>(<i>microPythonWidget, vid, pid, parent=None</i>) |
129 <b>GenericMicroPythonDevice</b>(<i>microPythonWidget, deviceType, vid, pid, parent=None</i>) |
130 |
130 |
131 <p> |
131 <p> |
132 Constructor |
132 Constructor |
133 </p> |
133 </p> |
134 <dl> |
134 <dl> |
135 |
135 |
136 <dt><i>microPythonWidget</i> (MicroPythonWidget)</dt> |
136 <dt><i>microPythonWidget</i> (MicroPythonWidget)</dt> |
137 <dd> |
137 <dd> |
138 reference to the main MicroPython widget |
138 reference to the main MicroPython widget |
|
139 </dd> |
|
140 <dt><i>deviceType</i> (str)</dt> |
|
141 <dd> |
|
142 device type assigned to this device interface |
139 </dd> |
143 </dd> |
140 <dt><i>vid</i> (int)</dt> |
144 <dt><i>vid</i> (int)</dt> |
141 <dd> |
145 <dd> |
142 vendor ID |
146 vendor ID |
143 </dd> |
147 </dd> |