Page 54 - Robo_Genius_V1.0_flipbook_C3
P. 54

Each block represents a different action, such as “show a heart” or “play a
                  sound,” and can be easily connected to build a program.

                  Block-based  programming  helps  you  quickly  see  the  results  of  their  code,

                  making it a fun way to learn programming and bring the micro:bit to life.




                                                                      Program either
                  Simulator shows                                     in blocks or in
                  how program will
                  execute.

                                                                                        Programming
                                                                                        workspace.
                                                                 Blocks Palette







                                                             Name of the
                                    Download program
                                                             project
                                    to micro:bit





                                                                                                 21 st   #Media Literacy
                    Activity       Writing the First Program:                                 Century   #Technology Literacy
                                                                                                Skills
                                   Displaying Emoji’s

                  Overview


                  In  this  project  different  types  of  icons  will
                  print on display matrix of micro:bit. Micro:bit

                  having 5 × 5 display matrix where total 25 Leds
                  are placed so using this display we can print n

                  numbers of icons. Few icons are already there
                  in the block code so we can directly use those
                  icons as well as we can make our own icons.

                  The Micro:bit LED screen has 25 red LED lights

                  arranged in a 5 × 5 grid (5 LEDs across by 5
                  LEDs down).

                  We can use (x, y) coordinates to specify a particular LED in the grid; where x is
                  the horizontal position (0,1,2,3,4) and y is the vertical position (0, 1, 2, 3, 4).






                       52    RoboGenius (V1.0)-III
   49   50   51   52   53   54   55   56   57   58   59