417 ) |
417 ) |
418 # simulate pressing the disconnect button |
418 # simulate pressing the disconnect button |
419 self.microPython.on_connectButton_clicked() |
419 self.microPython.on_connectButton_clicked() |
420 |
420 |
421 |
421 |
422 def createDevice(microPythonWidget, deviceType, vid, pid): |
422 def createDevice(microPythonWidget, deviceType, vid, pid, boardName): |
423 """ |
423 """ |
424 Function to instantiate a MicroPython device object. |
424 Function to instantiate a MicroPython device object. |
425 |
425 |
426 @param microPythonWidget reference to the main MicroPython widget |
426 @param microPythonWidget reference to the main MicroPython widget |
427 @type MicroPythonWidget |
427 @type MicroPythonWidget |