1669 out, err = self.executeCommands(command, mode=self._submitMode) |
1669 out, err = self.executeCommands(command, mode=self._submitMode) |
1670 if err: |
1670 if err: |
1671 self.microPython.showError("rp2.country()", err) |
1671 self.microPython.showError("rp2.country()", err) |
1672 |
1672 |
1673 |
1673 |
1674 def createDevice(microPythonWidget, deviceType, vid, pid, boardName, serialNumber): |
1674 def createDevice( |
|
1675 microPythonWidget, deviceType, vid, pid, boardName, serialNumber # noqa: U100 |
|
1676 ): |
1675 """ |
1677 """ |
1676 Function to instantiate a MicroPython device object. |
1678 Function to instantiate a MicroPython device object. |
1677 |
1679 |
1678 @param microPythonWidget reference to the main MicroPython widget |
1680 @param microPythonWidget reference to the main MicroPython widget |
1679 @type MicroPythonWidget |
1681 @type MicroPythonWidget |