src/eric7/MicroPython/Devices/PyBoardDevices.py

branch
eric7
changeset 10069
435cc5875135
parent 9989
286c2a21f36f
child 10439
21c28b0f9e41
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
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

eric ide

mercurial