Remove Unsupported Block


#1

What’s wrong here? I couldn’t find where my problem is…Is it too long or something like that? Any help is appreciated.


#2

Your error message is telling you that you are nesting forever loops. What you may not be aware of is that under the covers, anything outside of the first forever loop goes into the setup() method for an Arduino sketch and anything within a forever loop goes into the loop() method in an Arduino sketch. Only one loop() method is allowed due to the code generation that takes place behind the scenes. You will need to restructure your program to have only a single forever loop.

You can demonstrate this behavior by setting up a program that reads:

Orion Program
forever
forever

and you’ll get essentially the same error message.

Hope this helps.


#3

Thank you very much! Now I’m working on a new program with less forevers :smiley:


#4