1978 return False, str(err) |
1978 return False, str(err) |
1979 |
1979 |
1980 return True, "" |
1980 return True, "" |
1981 |
1981 |
1982 |
1982 |
1983 def createDevice(microPythonWidget, deviceType, vid, pid, boardName, serialNumber): |
1983 def createDevice( |
|
1984 microPythonWidget, deviceType, vid, pid, boardName, serialNumber # noqa: U100 |
|
1985 ): |
1984 """ |
1986 """ |
1985 Function to instantiate a MicroPython device object. |
1987 Function to instantiate a MicroPython device object. |
1986 |
1988 |
1987 @param microPythonWidget reference to the main MicroPython widget |
1989 @param microPythonWidget reference to the main MicroPython widget |
1988 @type MicroPythonWidget |
1990 @type MicroPythonWidget |