eric6/MicroPython/MicrobitDevices.py

branch
micropython
changeset 7065
e3d04faced34
parent 7059
a8fad276cbd5
child 7082
ec199ef0cfc6
equal deleted inserted replaced
7062:ac12da95958b 7065:e3d04faced34
6 """ 6 """
7 Module implementing the device interface class for BBC micro:bit boards. 7 Module implementing the device interface class for BBC micro:bit boards.
8 """ 8 """
9 9
10 from __future__ import unicode_literals 10 from __future__ import unicode_literals
11
12 from PyQt5.QtCore import pyqtSlot
11 13
12 from .MicroPythonDevices import MicroPythonDevice 14 from .MicroPythonDevices import MicroPythonDevice
13 from .MicroPythonReplWidget import HAS_QTCHART 15 from .MicroPythonReplWidget import HAS_QTCHART
14 16
15 17
120 122
121 @param on flag indicating the active status 123 @param on flag indicating the active status
122 @type bool 124 @type bool
123 """ 125 """
124 pass 126 pass
127
128 @pyqtSlot()
129 def handleDataFlood(self):
130 """
131 Public slot handling a data floof from the device.
132 """
133 self.microPython.setActionButtons(files=True)

eric ide

mercurial