top of page

ACTIVITY 1

Magic Buttons: Draw with Light

Open MakeCode and load the Diversi:bit extension

Screenshot 2025-06-30 at 19.40.11.png

1

You can change the button by clicking on the "A" drop-down menu.

pas3

3

Draw

In the "Basic" section, choose one of the "show .." options and place it inside the already selected block.

Screenshot 2025-06-30 at 19.51.20.png

5

In the "Input" section, click on "When button A is pressed"

pas2

2

To control the touch button, select "When logo is pressed"

4

Check the result

Just program the other buttons with different drawings or texts and load the program into the Microbit.

Once uploaded, test your code and watch the Diversi:bit light up when you touch the touch elements!

6

bottom of page