How to change mode by on-board buttun



I’m beginner…
I want to make mBlock program to change 3 mode -linefollower mode, ultrasonic mode, manual mode- by mCore’s on-board buttun like mBot pre-uploaded factory program.
I am pleased if you can give me advice. thank you.


Hi ogi,
You may refer to the mBot FAQs (FAQ2) to reset default program.
Then press on board button can change the two lights color. Green–Ultrasonic mode, Blue–line follower mode, White–manual mode.