top of page
ACTIVITY 1
Magic Buttons: Draw with Light
Open MakeCode and load the Diversi:bit extension

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

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

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

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
