On-Board Button does not trigger event for the new mBot


#1

I used programme the following project for the old mBot to make the sprite glide when On-board button is being pressed.

But when I used the same blocks for the new mBot (with protective case), pressing the on-board button will only switch the mBot from IR mode to obstacles-avoidance and line-following mode but does not trigger the sprite to glide.

So would like to see how can I set new mBot to stay in IR mode such that pressing the on-board button will trigger an event as programmed, but not changing the mode. Thanks!




#2

Hi aaronfca,

Normally, there is no difference for the mBot and mBot 1.1.
They use the same mCore board and same firmware. I have tested the program you attached and it works ok on my mBot.
Please Upgrade firmware for your mBot first before you run the above program have a try.


#3