src/eric7/MicroPython/Devices/PyBoardDevices.py

branch
mpy_network
changeset 9834
1fdaebde6316
parent 9820
67597e003373
child 9909
439f312e9c14
equal deleted inserted replaced
9830:6c91fdb0e55b 9834:1fdaebde6316
495 if self.microPython.isConnected(): 495 if self.microPython.isConnected():
496 self.microPython.deviceInterface().execute( 496 self.microPython.deviceInterface().execute(
497 [ 497 [
498 "import pyb", 498 "import pyb",
499 "pyb.bootloader()", 499 "pyb.bootloader()",
500 ] 500 ],
501 mode=self._submitMode,
501 ) 502 )
502 # simulate pressing the disconnect button 503 # simulate pressing the disconnect button
503 self.microPython.on_connectButton_clicked() 504 self.microPython.on_connectButton_clicked()
504 505
505 ################################################################## 506 ##################################################################

eric ide

mercurial