src/eric7/MicroPython/Devices/CircuitPythonDevices.py

branch
mpy_network
changeset 9834
1fdaebde6316
parent 9828
32c8a5b57332
child 9836
902ec9a04ebe
equal deleted inserted replaced
9830:6c91fdb0e55b 9834:1fdaebde6316
392 """ 392 """
393 Private slot to reset the connected device. 393 Private slot to reset the connected device.
394 """ 394 """
395 if self.microPython.isConnected(): 395 if self.microPython.isConnected():
396 self.microPython.deviceInterface().execute( 396 self.microPython.deviceInterface().execute(
397 "import microcontroller\nmicrocontroller.reset()\n" 397 "import microcontroller\nmicrocontroller.reset()\n",
398 mode=self._submitMode,
398 ) 399 )
399 400
400 def hasFlashMenuEntry(self): 401 def hasFlashMenuEntry(self):
401 """ 402 """
402 Public method to check, if the device has its own flash menu entry. 403 Public method to check, if the device has its own flash menu entry.

eric ide

mercurial