eric6/Documentation/Source/eric6.MicroPython.MicrobitDevices.html

changeset 7555
24f1bb4c78a3
parent 7336
0095e231ddaf
child 7989
a21d673a8f99
equal deleted inserted replaced
7554:97da2ac22807 7555:24f1bb4c78a3
21 <body> 21 <body>
22 <a NAME="top" ID="top"></a> 22 <a NAME="top" ID="top"></a>
23 <h1>eric6.MicroPython.MicrobitDevices</h1> 23 <h1>eric6.MicroPython.MicrobitDevices</h1>
24 24
25 <p> 25 <p>
26 Module implementing the device interface class for BBC micro:bit boards. 26 Module implementing the device interface class for BBC micro:bit and
27 Calliope mini boards.
27 </p> 28 </p>
28 <h3>Global Attributes</h3> 29 <h3>Global Attributes</h3>
29 30
30 <table> 31 <table>
31 <tr><td>None</td></tr> 32 <tr><td>None</td></tr>
34 35
35 <table> 36 <table>
36 37
37 <tr> 38 <tr>
38 <td><a href="#MicrobitDevice">MicrobitDevice</a></td> 39 <td><a href="#MicrobitDevice">MicrobitDevice</a></td>
39 <td>Class implementing the device for BBC micro:bit boards.</td> 40 <td>Class implementing the device for BBC micro:bit and Calliope mini boards.</td>
40 </tr> 41 </tr>
41 </table> 42 </table>
42 <h3>Functions</h3> 43 <h3>Functions</h3>
43 44
44 <table> 45 <table>
48 <hr /> 49 <hr />
49 <a NAME="MicrobitDevice" ID="MicrobitDevice"></a> 50 <a NAME="MicrobitDevice" ID="MicrobitDevice"></a>
50 <h2>MicrobitDevice</h2> 51 <h2>MicrobitDevice</h2>
51 52
52 <p> 53 <p>
53 Class implementing the device for BBC micro:bit boards. 54 Class implementing the device for BBC micro:bit and Calliope mini boards.
54 </p> 55 </p>
55 <h3>Derived from</h3> 56 <h3>Derived from</h3>
56 MicroPythonDevice 57 MicroPythonDevice
57 <h3>Class Attributes</h3> 58 <h3>Class Attributes</h3>
58 59
147 <tr><td>None</td></tr> 148 <tr><td>None</td></tr>
148 </table> 149 </table>
149 150
150 <a NAME="MicrobitDevice.__init__" ID="MicrobitDevice.__init__"></a> 151 <a NAME="MicrobitDevice.__init__" ID="MicrobitDevice.__init__"></a>
151 <h4>MicrobitDevice (Constructor)</h4> 152 <h4>MicrobitDevice (Constructor)</h4>
152 <b>MicrobitDevice</b>(<i>microPythonWidget, parent=None</i>) 153 <b>MicrobitDevice</b>(<i>microPythonWidget, deviceType, parent=None</i>)
153 154
154 <p> 155 <p>
155 Constructor 156 Constructor
156 </p> 157 </p>
157 <dl> 158 <dl>
158 159
159 <dt><i>microPythonWidget</i> (MicroPythonWidget)</dt> 160 <dt><i>microPythonWidget</i> (MicroPythonWidget)</dt>
160 <dd> 161 <dd>
161 reference to the main MicroPython widget 162 reference to the main MicroPython widget
163 </dd>
164 <dt><i>deviceType</i> (str)</dt>
165 <dd>
166 type of the device
162 </dd> 167 </dd>
163 <dt><i>parent</i> (QObject)</dt> 168 <dt><i>parent</i> (QObject)</dt>
164 <dd> 169 <dd>
165 reference to the parent object 170 reference to the parent object
166 </dd> 171 </dd>

eric ide

mercurial