Good. A solid reply to a question that was supposed to be given in the first place. Why wasn’t it given in the beginning? Why was there a brain wrestle instead?
I’m not sure I understand what is the solid reply … I’m not sure I understand where the “brain wrestle” was. You said:
a uploading error from the Arduino IDE; specifically example of Arduino code I typed:
and you already got the answer “the code is for processing, not for Arduino”
So initial thought is you’ve done your research and understand what Procesing is… i point out that you get an error because Arduino IDE language is C++ and the statement is not C++. hence that’s why you get an error.
Then I realize you may be don’t know what Processing is (not the verb, the product name, hence the insistance on capitalization). I mention to you
Ok more explanation needed maybe about the word “processing”
Processing with a capital P is a programming environment for your PC / mac. It’s often used in combination with an arduino program to get your computer to communicate with your arduino based solution, So examples would usually have 2 matching programs, one for the PC, programmed in Processing environment and one for the arduino IDE.
Makes more sense now?
with a link to the Processing web site. have you clicked on it?
then you come back asking why we don’t answer the question… but we all think we did. with text and link…
So I take the time to draw a picture explaining there are 2 different worlds that use two different languages… but still you don’t appreciate the effort I put in building an answer.
Now we have asked many times for the web sites and books that are confusing… and you refuse to answer…
I don’t understand what you don’t understand at this point. you have brought no evidence of web sites and books that could have mislead you…
something I learnt in life is to listen, listen really carefully to what people say and try to understand. I’ve never seen being agressive get anyone on the path of knowledge.
I’m out of ideas on how to answer your question - may be someone else will have more ideas. good luck