In this code, the button event doest not work on mbot, when the button pressed.
Also, “on board button pressed” condition block does not work too.
How can I solve it?
In this code, the button event doest not work on mbot, when the button pressed.
Also, “on board button pressed” condition block does not work too.
How can I solve it?
I just ran your code and it works whether I am connected via USB cable, WiFi, or Bluetooth. Does the mBlock title bar show that you are connected with the mBot? If not, then the code will not appear to work because you do not have a connection to the robot.
When I upgrade firmware, It works well…
Also, In new firmware, the button on board is work as other functionality and it makes confused for programming.
It’s functionality seems to be turned of in programming or mblock.