Page 179 - Trackpad_V1_Book 8_Flipbook
P. 179

LOOP Blocks

                 These blocks are used to repeat the same codes again.



                                    This block is used to repeat a part of a program for a specified number of time.






                                    This block is used to repeat the code as per the specified Boolean condition.




                 CREATING A PROJECT

                 To create a project, follow these steps:

                 Step 1: To start creating a project, visit this link: https://makecode.microbit.org
                 Step 2: Then, click on the New Project button.

                 Step 3: Give your project a name and click on Create

                 Now you are ready to start creating programs. Select and drag the blocks from the left to the
                 Workspace area and combine them to make meaningful programs. On that account, let us create
                 a project.

                 PROJECT 1

                 Let us create a simple project displaying a flashing heart. Running the Project.









































 176  Trackpad (Version 1.0)-VIII                                                                     Techipedia  177
   174   175   176   177   178   179   180   181   182   183   184