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. |