Page 37 - Robo_Genius_V1.0_flipbook_C1
P. 37

The Micro:bit has a special screen made

                 of 25 tiny lights arranged in a 5x5 grid.
                 You can turn these lights on and off to

                 make  pictures  and  fun  animations!  In
                 this  activity,  we  will  use  the  lights  to

                 show a heart that beats. The heart will
                 get big and then small, just like a real

                 heart.




                                                                                                21 st
                  Activity        Building a Beating Heart Animation                         Century   #Critical thinking
                                                                                                   #Technology Literacy
                                                                                               Skills
                                  Program

                 Algorithm Used
                                                                                       FOREVER
                 An  algorithm  is  a  step-by-step  procedure                         Show icon (large heart)

                 that defines a set of instructions that must be                       Pause
                 carried out in a specific order to produce the                        Show icon (Small heart)
                 desired result.                                                       Pause

                                                                                       END
                 Building a Beating Heart Animation Program


                 Step 1   Go to Microsoft make code https://makecode.microbit.org/

                 Step 2   Click on new projects.
















                                      Click on new project














                                                                       Exploring the Micro:bit for Programming  35
   32   33   34   35   36   37   38   39   40   41   42