Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 37 - RoboGenius Pro C5
P. 37

    You will observe that the on start and forever blocks are already present
                                   in the workspace.

                      STEP - 4   Drag the play melody block and place it inside the on start block from

                                   the Music category. Choose the melody ringtone from the drop-down
                                   list and set it to looping in background.

                                             on   start

                                               play   melody ringtone      looping in background

                      STEP - 5   Drag the  show icon block  from the  Basic  category  into  the  forever

                                   block. Change the icon to chess board.

                      STEP - 6   Drag the pause (ms) block and place it below the show icon block. Set

                                   the pause to 500 ms.

                                                               forever

                                                                show icon

                                                                pause (ms)  500

                       STEP - 7   Drag the show icon block from the Basic category into the forever block,
                                   placing it below the pause (ms) block. Change the icon to silly.

                      STEP - 8   Drag another pause (ms) block and place it below this show icon block.
                                   Set the pause to 500 ms.

                                                               forever

                                                                show icon

                                                                pause (ms)  500

                                                                show icon

                                                                pause (ms)  500

                                                                              Micro:Bit and the World Around Us
                                                                                                                        35

| 32 33 34 35 36 37 38 39 40 41 42 |