Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 36 - RoboGenius Pro C4
P. 36

    Some of the important variable blocks are:

                                        Block                                       Description

                                                                Assign (set) a variable’s value
                               set  my variable  to  0

                                                                Change a variable’s value
                             change  my variable  by  1

                                                                Created variable.
                                      my variable

                                                You have created a game in Micro:bit, but it keeps crashing.
                                                 Should you continue using the software, knowing that it may
                                                                   not always work perfectly?

                      WRITING YOUR FIRST PROGRAM

                      When starting to write code, you can choose between Blocks Programming and
                      Text Programming.  Let’s  see  how to  write  a  Hello program using  block-based
                      programming. In block-based programming, the steps are easy to follow since you

                      only need to drag and drop blocks.

                      Follow these simple steps to create a Hello program:

                        STEP - 1   Visit the link: https://makecode.microbit.org/ or scan
                                      the QR Code.

                        STEP - 2   Click on the New Project button to create a project.

                                     RoboGenius Pro - IV
                     34

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