Page 67 - Robo_Genius_V1.0_flipbook_C3
P. 67

When button A is pressed                                When button B is pressed






















                 When Both A + B is pressed























                 Concepts

                    • Counting with Code: You will learn how to use coding to make the micro:bit
                    count numbers and show them on its LED screen.

                    • Button Interaction: You will understand how pressing a button can tell the
                    micro:bit to add 1 to the current number and display it.

                 Observations

                 In the Simple Counter activity, You will see:

                    • Each time you press the A button on the micro:bit, the number will increase
                    by 1.

                    • The micro:bit will show the updated number on its screen.

                    • You will learn how to create a simple counting system using coding.
                 Application

                 You’ll  notice  digital  order  counter  displays




                                                                                 Programming with Micro:bit   65
   62   63   64   65   66   67   68   69   70   71   72