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() |