Page 57 - Ai Robogenius
P. 57

STEP - 6   Drag the pause (ms) block from the Basic block category and place it

                                 after the show icon block. Set the value to 1000 ms (1 second), which
                                 will make the icon display for 1 second.





















                  STEP - 7   Drag the clear screen block from the Basic block category and place

                                 it after the pause (ms) block. This block will clear the icon displayed on
                                 the screen.





















                  STEP - 8   Drag the pause (ms) block from the Basic block category and place

                                 it after the clear screen block. Set the value to 500 ms (0.5 seconds).
                                 This will create a half-second pause before the next iteration of the
                                 loop begins.























                                                                                     Coding with Micro:Bit
                                                                                                                    55
   52   53   54   55   56   57   58   59   60   61   62