198 " In place editing will not be available." |
198 " In place editing will not be available." |
199 ).format(self.__deviceVolumeName), |
199 ).format(self.__deviceVolumeName), |
200 ) |
200 ) |
201 |
201 |
202 return super().getWorkspace() |
202 return super().getWorkspace() |
|
203 |
|
204 |
|
205 def createDevice(microPythonWidget, deviceType, vid, pid): |
|
206 """ |
|
207 Function to instantiate a MicroPython device object. |
|
208 |
|
209 @param microPythonWidget reference to the main MicroPython widget |
|
210 @type MicroPythonWidget |
|
211 @param deviceType device type assigned to this device interface |
|
212 @type str |
|
213 @param vid vendor ID |
|
214 @type int |
|
215 @param pid product ID |
|
216 @type int |
|
217 @return reference to the instantiated device object |
|
218 @rtype GenericMicroPythonDevice |
|
219 """ |
|
220 return GenericMicroPythonDevice(microPythonWidget, deviceType, vid, pid) |