2

EV3 brick sometimes freezes while executing huge programs and do not react on buttons and bluetooth (connect, start/stop program). Only way to continue work is hard reset. We discovered that freeze depends on medium motor blocking. Is there any way to fix this?

Program: http://puu.sh/iQuFg/678d3add5f.ev3

1
  • The link is broken. Commented May 1, 2020 at 11:35

2 Answers 2

2

My kids have this exact same problem when a program reaches a certain size. Parts of the program that previously worked just fine begin to systematically cause the brick to lock up. We have found, as ridiculous as this sounds, the simple act of adding a variable read immediately before the motor block which seems to cause the brick to lock up will fix the problem.

1

Did you set the medium motor block at On For Degrees mode? If you did, the motor would attempt to spin and run until it reaches the degrees set in the block. You could replace the block with wait for X seconds.

2
  • No, it is not because of motor block. Commented Nov 5, 2015 at 8:34
  • lol..............................................................................
    – LKBricks
    Commented Feb 17, 2022 at 13:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.