Program not working the same when uploaded to Orion


#1

Hello, I have a program that is working fine when running over bluetooth from mblock. When I upload the program to the Orion board it does not behave the same. Code attached, this is for a dancing robot in the science fair. The code seems to be stuck in the red and green conditions (spinnylulu and spinnylulu2… I didnt pick the names!).

Thanks!
MC


#2

If you are uploading the program, it will be converted to C++ and compiled by the Arduino environment. If you click the Arduino mode option under the Edit Window, you will see the C++ code in a pane on the right. Please copy that code and paste it here so that we can discuss what might be going haywire. Be aware that a few bugs have crept into the code generator, so be sure that you are using version 3.4.6 of the mBlock application.


#3