554 rtc = pyb.RTC() |
554 rtc = pyb.RTC() |
555 rtc.datetime(rtc_time[:7] + (0,)) |
555 rtc.datetime(rtc_time[:7] + (0,)) |
556 """ |
556 """ |
557 |
557 |
558 |
558 |
559 def createDevice(microPythonWidget, deviceType, vid, pid, boardName, serialNumber): |
559 def createDevice( |
|
560 microPythonWidget, deviceType, vid, pid, boardName, serialNumber # noqa: U100 |
|
561 ): |
560 """ |
562 """ |
561 Function to instantiate a MicroPython device object. |
563 Function to instantiate a MicroPython device object. |
562 |
564 |
563 @param microPythonWidget reference to the main MicroPython widget |
565 @param microPythonWidget reference to the main MicroPython widget |
564 @type MicroPythonWidget |
566 @type MicroPythonWidget |