Alphabot2 for micro:bit User Manual
if then
block is in
Logic
1. Place
if then
block on forever, then put
2. Place
show string
3. Connect your micro:bit to PC, click
Press buttons on micro:bit to test if expected string is displayed.
【Tips】
Some users may notice that in this script, A+B are detected first instead of A or B. You
can try to change the detect order to see what will happen.
package,
button is pressed
⊕
block, then clock
icon to complete the codes as below:
Download
block is in
Input
button is pressed
block on it.
to flash the code to your board.
package.
17 / 76