Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 138 - 2615_KEC
P. 138

    ∑   Connect the Micro:bit via USB and transfer the file.

                                ∑   Watch the heart appear on the Micro:bit screen!

                      Step  5   Using Input Buttons

                                ∑   Go to Input, drag the On button A pressed block.
                                ∑   Inside this block, add a Show Icon block.

                                ∑   Choose a Music icon.
                                ∑   Test it in the simulator, then download and upload to the Micro:bit.

                      Step  6   Making Sounds with Micro:bit

                                ∑   In Input, select On button A pressed.
                                ∑   Go to Music and add Play tone block.
                                ∑   Choose a note (e.g., Middle C).

                                ∑   Click Play in the simulator to hear the sound.

                      136   Premium Edition-VI

| 133 134 135 136 137 138 139 140 141 142 143 |