1

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

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.

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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