This example is arranged in an easy-to-difficult order. We recommend that you read them in turn to achieve better learning outcomes.

Hardware-backed: mBot or mCore Control Panel

List

1Blink

2Alternating blink

3Mixed color

4Random color

5Press button to play

6Play a piece of music

7Ambulance sound

8Sound gradient

9Brightness gradient

10Fire engine sound

11Value of the light sensor

12Stage background brightness

13Infrared communication

14Control movement , sound and light

15Move along the M-shaped track

16Move along the S-shaped track

17Simulate an ambulance

18Value of the ultrasonic sensor

19Stop automatically in front of a barrier

20Avoid barriers

21Value of the line-follower sensor

22Let me down

23Cliff detection

24Simple line follow program