New to Arduino, and not particularly skilled in C or C++, I admit (or am guilty of being)!
But in several of the examples that come with the hardware I have obtained, there is code entered in the sketch before setup(). How does this fit in the grand scheme?
When is this code executed? Once before setup? Between executions of loop()? I'm bewildered!
The code in question is supposedly a routine to listen to the serial port, and depending on what is submitted to the Arduino, the characters are used to determine the path through a case statement.
Any help to bring my understanding up is much appreciated!
And many thanks to the designer of this forum! It is one of the best looking ones that I have seen in a long time (even though the functionality is what we are accustomed to). Eye-candy has its merits!