Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 57 - Ai Robogenius
P. 57

    Name                       Icon                             Description

                         show number                                       Displays a number on the screen.
                                               show number  0

                         show leds                                         Draws a custom image on the screen
                                                 show leds
                                                                           using the LEDs.

                         show icon                                         Shows a picture from a set of icons
                                               show icon
                                                                           on the LED screen.

                         show string            show string "Hello!"       Scrolls a message  across the LED
                                                                           display,one letter at a time

                         clear screen                                      Turns off all the lights on the display.
                                                clear screen

                         forever                                           Keeps  repeating  the code  inside  it
                                                forever
                                                                           over and over again.

                         on start                                          Starts  the code  as soon as the
                                                on  start
                                                                           micro:bit is switched on or reset.

                         pause                  pause (ms) 100             Stops  the  program  for a  short  time
                                                                           (measured in milliseconds).

                         show arrow             show arrow  North          Displays an arrow on the LED screen
                                                                           to point in different directions.

                             Input: It lets you use buttons and sensors to control the micro:bit.

                             Music: It lets you play sounds and tunes.

                              Led: Control the lights on your micro:bit's screen.

                                                                                           Meet the Micro:Bit
                                                                                                                        55

| 52 53 54 55 56 57 58 59 60 61 62 |