eric6/MicroPython/MicroPythonDevices.py

branch
micropython
changeset 7125
2028553ee58c
parent 7123
94948e2aa0a5
child 7129
3cc19aec959a
equal deleted inserted replaced
7124:1965daf1a14b 7125:2028553ee58c
183 @return flag indicating an interrupt is needed 183 @return flag indicating an interrupt is needed
184 @rtype bool 184 @rtype bool
185 """ 185 """
186 return True 186 return True
187 187
188 def deviceName(self):
189 """
190 Public method to get the name of the device.
191
192 @return name of the device
193 @rtype str
194 """
195 return self.tr("Unsupported Device")
196
188 def canStartRepl(self): 197 def canStartRepl(self):
189 """ 198 """
190 Public method to determine, if a REPL can be started. 199 Public method to determine, if a REPL can be started.
191 200
192 @return tuple containing a flag indicating it is safe to start a REPL 201 @return tuple containing a flag indicating it is safe to start a REPL

eric ide

mercurial