How to code a three mode robot?


#1

I’m currently struggling with coding a three mode robot. How do you do this?

The robot would just stay in mode 1 no matter what I do.

Please help! Any advice would be greatly appreciated!


#2

Screenshot%20(212)

Here are screenshots of the code


#3

mBot cannot multitask.
See more about this type of issue here:

If you need more help, mention me as @Best_codes, and I will make a code for you if I find time.

Thanks for your time,
Best_codes