src/eric7/MicroPython/MicroPythonWidget.py

branch
eric7
changeset 10428
a071d4065202
parent 10230
1311cd5d117e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10427:3733e2b23cf7 10428:a071d4065202
360 """ 360 """
361 Public method to check, if the connected/selected device is a 361 Public method to check, if the connected/selected device is a
362 BBC micro:bit or Calliope mini. 362 BBC micro:bit or Calliope mini.
363 363
364 @return flag indicating a micro:bit device 364 @return flag indicating a micro:bit device
365 rtype bool 365 @rtype bool
366 """ 366 """
367 if ( 367 if (
368 self.__device 368 self.__device
369 and ( 369 and (
370 "micro:bit" in self.__device.deviceName() 370 "micro:bit" in self.__device.deviceName()

eric ide

mercurial